Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_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.001355/0.001355, allocations: 104.9 kB / 15.98 MB, free: 6.336 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.001557/0.001557, allocations: 192.6 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7775/0.7775, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 71.88 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4375, allocations: 76.17 MB / 0.556 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003884/0.4415, allocations: 1.712 MB / 0.5577 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.4424, allocations: 406 kB / 0.5581 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.4425, allocations: 1.875 kB / 0.5581 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.4427, allocations: 7.297 kB / 0.5581 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.4428, allocations: 18.8 kB / 0.5581 GB, free: 34.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.4434, allocations: 109.1 kB / 0.5582 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.4437, allocations: 105.1 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.4439, allocations: 47.44 kB / 0.5583 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.444, allocations: 46.38 kB / 0.5584 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.578e-05/0.4441, allocations: 41.27 kB / 0.5584 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.4441, allocations: 7.188 kB / 0.5584 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.4443, allocations: 62.97 kB / 0.5585 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.4443, allocations: 21.83 kB / 0.5585 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.4444, allocations: 47.78 kB / 0.5586 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.4447, allocations: 129.7 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4447, allocations: 0 / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4447, allocations: 1.094 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4447, allocations: 0 / 0.5587 GB, free: 34.48 MB / 446.1 MB 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.0007518/0.4454, allocations: 414.9 kB / 0.5591 GB, free: 34.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.477e-05/0.4455, allocations: 9.969 kB / 0.5591 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.981e-05/0.4456, allocations: 43.73 kB / 0.5591 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.4459, allocations: 31.73 kB / 0.5592 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.4462, allocations: 189.1 kB / 0.5593 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/0.4463, allocations: 35.73 kB / 0.5594 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.4463, allocations: 9.219 kB / 0.5594 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.4467, allocations: 110.1 kB / 0.5595 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4467, allocations: 2.344 kB / 0.5595 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.4468, allocations: 4 kB / 0.5595 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.4468, allocations: 8.062 kB / 0.5595 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.4471, allocations: 81.34 kB / 0.5596 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.448, allocations: 387 kB / 0.56 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.4486, allocations: 125.5 kB / 0.5601 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.4488, allocations: 42.19 kB / 0.5601 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.4488, allocations: 5.031 kB / 0.5601 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4488, allocations: 37.23 kB / 0.5602 GB, free: 33.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.4488, allocations: 0.5625 kB / 0.5602 GB, free: 33.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004401/0.4493, allocations: 130.9 kB / 0.5603 GB, free: 33.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.4493, allocations: 57.36 kB / 0.5603 GB, free: 33.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4494, allocations: 136.2 kB / 0.5605 GB, free: 33.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.4495, allocations: 27.3 kB / 0.5605 GB, free: 33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.4495, allocations: 98.73 kB / 0.5606 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.4495, allocations: 24.78 kB / 0.5606 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.4496, allocations: 20.8 kB / 0.5606 GB, free: 32.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.4497, allocations: 321.4 kB / 0.5609 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.4498, allocations: 32.09 kB / 0.561 GB, free: 32.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.4499, allocations: 50.5 kB / 0.561 GB, free: 32.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.4501, allocations: 77.25 kB / 0.5611 GB, free: 32.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4501, allocations: 1.281 kB / 0.5611 GB, free: 32.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002614/0.4504, allocations: 113.9 kB / 0.5612 GB, free: 32.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4504, allocations: 6.156 kB / 0.5612 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4504, allocations: 0 / 0.5612 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4504, allocations: 7.391 kB / 0.5612 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4506, allocations: 16.05 kB / 0.5612 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4506, allocations: 1.719 kB / 0.5612 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.4507, allocations: 12.38 kB / 0.5612 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4507, allocations: 9.156 kB / 0.5612 GB, free: 32.41 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/0.4508, allocations: 115.4 kB / 0.5614 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.4508, allocations: 16.58 kB / 0.5614 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.4509, allocations: 15.55 kB / 0.5614 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4509, allocations: 5.906 kB / 0.5614 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.4509, allocations: 1.531 kB / 0.5614 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4509, allocations: 2.047 kB / 0.5614 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4511, allocations: 198.9 kB / 0.5616 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4511, allocations: 0 / 0.5616 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.4513, allocations: 20.67 kB / 0.5616 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4513, allocations: 0.6094 kB / 0.5616 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4513, allocations: 1.438 kB / 0.5616 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4513, allocations: 6.141 kB / 0.5616 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4513, allocations: 0.6562 kB / 0.5616 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.4516, allocations: 202.3 kB / 0.5618 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.4516, allocations: 92.66 kB / 0.5619 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.4517, allocations: 1.953 kB / 0.5619 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.4518, allocations: 19.52 kB / 0.5619 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.4519, allocations: 8.75 kB / 0.5619 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4519, allocations: 4.906 kB / 0.5619 GB, free: 31.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.452, allocations: 107.2 kB / 0.562 GB, free: 31.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.452, allocations: 0 / 0.562 GB, free: 31.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.4522, allocations: 20.69 kB / 0.5621 GB, free: 31.69 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004915/0.4527, allocations: 0.733 MB / 0.5628 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.453, allocations: 82.5 kB / 0.5628 GB, free: 30.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.453, allocations: 0 / 0.5628 GB, free: 30.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.4532, allocations: 41.36 kB / 0.5629 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.4537, allocations: 28.06 kB / 0.5629 GB, free: 30.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4556, allocations: 1.558 MB / 0.5644 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.4558, allocations: 0.704 MB / 0.5651 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.758e-05/0.4559, allocations: 11.94 kB / 0.5651 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.456, allocations: 27.67 kB / 0.5652 GB, free: 28.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.456, allocations: 0 / 0.5652 GB, free: 28.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.4715, allocations: 2.555 MB / 0.5677 GB, free: 28.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.4717, allocations: 218.7 kB / 0.5679 GB, free: 28.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.2, allocations: 2.391 kB / 0.5679 GB, free: 28.44 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)