Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.000517, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8224, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00274/0.8252, allocations: 1.334 MB / 0.9549 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.8261, allocations: 360.8 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.8263, allocations: 1.156 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.8263, allocations: 7.922 kB / 0.9552 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.8265, allocations: 24.14 kB / 0.9553 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.8271, allocations: 106.6 kB / 0.9554 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.8273, allocations: 74.42 kB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.8275, allocations: 27.61 kB / 0.9555 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.8276, allocations: 37.56 kB / 0.9555 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.8277, allocations: 35.47 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.8277, allocations: 2.438 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.8279, allocations: 56.58 kB / 0.9556 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.8279, allocations: 16.17 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.8279, allocations: 40.52 kB / 0.9556 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.8281, allocations: 87.7 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.8281, allocations: 0 / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.647e-06/0.8281, allocations: 0 / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8282, allocations: 4 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006021/0.8288, allocations: 405.7 kB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.8288, allocations: 9.031 kB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.8289, allocations: 41 kB / 0.9562 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.8292, allocations: 37.88 kB / 0.9562 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.8294, allocations: 183.5 kB / 0.9564 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/0.8295, allocations: 35.42 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.8295, allocations: 5.219 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.8298, allocations: 115.7 kB / 0.9565 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.8298, allocations: 3.953 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.8298, allocations: 9.156 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.8298, allocations: 2.094 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.8301, allocations: 88.19 kB / 0.9566 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.8308, allocations: 397.5 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.8313, allocations: 131 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.8313, allocations: 5.016 kB / 0.9571 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.8314, allocations: 31.78 kB / 0.9572 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.8314, allocations: 5.062 kB / 0.9572 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004341/0.8318, allocations: 148.8 kB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.8318, allocations: 52.5 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.8319, allocations: 139.8 kB / 0.9575 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.832, allocations: 30.39 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.832, allocations: 108 kB / 0.9576 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.832, allocations: 19.62 kB / 0.9576 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.8321, allocations: 0 / 0.9576 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.8321, allocations: 325.1 kB / 0.9579 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.8322, allocations: 36.78 kB / 0.958 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.8323, allocations: 47.98 kB / 0.958 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.8325, allocations: 46.3 kB / 0.9581 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8325, allocations: 0 / 0.9581 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002703/0.8327, allocations: 121.5 kB / 0.9582 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8328, allocations: 4.25 kB / 0.9582 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.8328, allocations: 1.5 kB / 0.9582 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8328, allocations: 1.25 kB / 0.9582 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.8329, allocations: 23.86 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8329, allocations: 2.453 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.44e-05/0.833, allocations: 17.83 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.833, allocations: 3.875 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/0.8331, allocations: 121.5 kB / 0.9584 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.8332, allocations: 7.656 kB / 0.9584 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.8332, allocations: 10.53 kB / 0.9584 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8332, allocations: 0 / 0.9584 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8332, allocations: 1.938 kB / 0.9584 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8332, allocations: 0 / 0.9584 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.8334, allocations: 211.2 kB / 0.9586 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8334, allocations: 3.938 kB / 0.9586 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.8335, allocations: 18.64 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8335, allocations: 1.562 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.8335, allocations: 0 / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.8336, allocations: 1.469 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8336, allocations: 3.938 kB / 0.9586 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.8338, allocations: 224 kB / 0.9588 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.8339, allocations: 87.48 kB / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.8339, allocations: 5.188 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.8341, allocations: 23.7 kB / 0.9589 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.8341, allocations: 5.328 kB / 0.9589 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.8342, allocations: 3.281 kB / 0.9589 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.8342, allocations: 103.3 kB / 0.959 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8342, allocations: 1.5 kB / 0.959 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002368/0.8345, allocations: 20.44 kB / 0.9591 GB, free: 3.441 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004447/0.8349, allocations: 0.7504 MB / 0.9598 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.8352, allocations: 86.75 kB / 0.9599 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8352, allocations: 1.375 kB / 0.9599 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.8353, allocations: 46.03 kB / 0.9599 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.8356, allocations: 23.05 kB / 0.9599 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.8363, allocations: 0.5838 MB / 0.9605 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.8364, allocations: 0.697 MB / 0.9612 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.117e-05/0.8365, allocations: 11.55 kB / 0.9612 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.8365, allocations: 31.48 kB / 0.9612 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8366, allocations: 0 / 0.9612 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.85, allocations: 2.346 MB / 0.9635 GB, free: 268 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.8502, allocations: 193.5 kB / 0.9637 GB, free: 28 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.637, allocations: 0 / 0.9637 GB, free: 28 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat does not exist to compare? outputFormat=mat