Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001296/0.001296, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00249/0.00249, allocations: 293.9 kB / 290.7 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 178.6 MB / 0.5073 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 101.7 kB / 0.6065 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1607, allocations: 89.14 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002992/0.1637, allocations: 1.644 MB / 0.6952 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4814/0.6452, allocations: 151.5 MB / 0.8432 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.6453, allocations: 1.312 kB / 0.8432 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.6455, allocations: 21.2 kB / 0.8432 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.6458, allocations: 45.97 kB / 0.8433 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.6462, allocations: 145.2 kB / 0.8434 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.6464, allocations: 122 kB / 0.8435 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.6466, allocations: 29.41 kB / 0.8435 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.6478, allocations: 165.4 kB / 0.8437 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.6479, allocations: 46.31 kB / 0.8437 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.6479, allocations: 5.75 kB / 0.8437 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.6483, allocations: 176.7 kB / 0.8439 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.6483, allocations: 29.41 kB / 0.8439 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.6484, allocations: 45.88 kB / 0.844 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.6487, allocations: 183.6 kB / 0.8442 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6487, allocations: 0 / 0.8442 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6487, allocations: 0 / 0.8442 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.6487, allocations: 1.781 kB / 0.8442 GB, free: 8.652 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006376/0.6494, allocations: 448 kB / 0.8446 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.6494, allocations: 9.594 kB / 0.8446 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.6495, allocations: 40.31 kB / 0.8446 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/0.6504, allocations: 81.11 kB / 0.8447 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.6506, allocations: 211 kB / 0.8449 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.6506, allocations: 8.125 kB / 0.8449 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.6507, allocations: 8.125 kB / 0.8449 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.6511, allocations: 129.7 kB / 0.8451 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6511, allocations: 0 / 0.8451 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.6511, allocations: 5.375 kB / 0.8451 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6511, allocations: 5.312 kB / 0.8451 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.6517, allocations: 141.2 kB / 0.8452 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007583/0.6524, allocations: 407.7 kB / 0.8456 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.6532, allocations: 260.6 kB / 0.8458 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.6534, allocations: 75.3 kB / 0.8459 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.6534, allocations: 5.375 kB / 0.8459 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.6535, allocations: 31.94 kB / 0.8459 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.6535, allocations: 3.938 kB / 0.846 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007686/0.6543, allocations: 224.8 kB / 0.8462 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.6543, allocations: 52.81 kB / 0.8462 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.6544, allocations: 150.5 kB / 0.8464 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.6545, allocations: 26.33 kB / 0.8464 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.6546, allocations: 100.9 kB / 0.8465 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.6546, allocations: 27.52 kB / 0.8465 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.6547, allocations: 27.98 kB / 0.8465 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6548, allocations: 329.4 kB / 0.8468 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.655, allocations: 49.45 kB / 0.8469 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.6553, allocations: 78.83 kB / 0.847 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.6557, allocations: 117.7 kB / 0.8471 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6557, allocations: 0 / 0.8471 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004955/0.6562, allocations: 159.6 kB / 0.8472 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6562, allocations: 5.156 kB / 0.8472 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6563, allocations: 1.125 kB / 0.8472 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6563, allocations: 3.984 kB / 0.8472 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.6565, allocations: 26.62 kB / 0.8473 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.6565, allocations: 1.531 kB / 0.8473 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.6567, allocations: 18.17 kB / 0.8473 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.6567, allocations: 2.719 kB / 0.8473 GB, free: 5.984 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001108/0.6568, allocations: 126 kB / 0.8474 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.6568, allocations: 13.41 kB / 0.8474 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.6569, allocations: 15.53 kB / 0.8474 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6569, allocations: 5.406 kB / 0.8474 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6569, allocations: 0 / 0.8474 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6569, allocations: 0 / 0.8474 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.6578, allocations: 470 kB / 0.8479 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6578, allocations: 7.312 kB / 0.8479 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.658, allocations: 30.36 kB / 0.8479 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.658, allocations: 0 / 0.8479 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.658, allocations: 2.875 kB / 0.8479 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.658, allocations: 3.938 kB / 0.8479 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.658, allocations: 0 / 0.8479 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.6586, allocations: 268.1 kB / 0.8482 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.6587, allocations: 83.52 kB / 0.8483 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.6587, allocations: 0 / 0.8483 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.6589, allocations: 25.94 kB / 0.8483 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.6589, allocations: 6.594 kB / 0.8483 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.6589, allocations: 9.734 kB / 0.8483 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.464e-05/0.659, allocations: 111.6 kB / 0.8484 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.659, allocations: 0 / 0.8484 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002723/0.6593, allocations: 24.94 kB / 0.8484 GB, free: 4.969 MB / 0.5762 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 (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 Backend phase and start with SimCode phase: time 0.0009305/0.6603, allocations: 0.8086 MB / 0.8492 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.6608, allocations: 134.5 kB / 0.8494 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6608, allocations: 0 / 0.8494 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.661, allocations: 69.81 kB / 0.8494 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.6614, allocations: 35.58 kB / 0.8495 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.6639, allocations: 1.722 MB / 0.8511 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.6643, allocations: 0.6996 MB / 0.8518 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.6644, allocations: 34.62 kB / 0.8519 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.6645, allocations: 30.27 kB / 0.8519 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of SimCode: time 3.466e-06/0.6645, allocations: 112 / 0.8519 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.6884, allocations: 3.342 MB / 0.8551 GB, free: 232 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/8.26, allocations: 15.78 kB / 0.8552 GB, free: 224 kB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)