Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",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.001189/0.001189, allocations: 108 kB / 15.61 MB, free: 152 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.001267/0.001267, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 286.9 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9486/0.9486, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 95.33 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1564, allocations: 86.99 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002837/0.1592, allocations: 1.472 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4797/0.639, allocations: 132.1 MB / 0.8107 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.6391, allocations: 0 / 0.8107 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.6391, allocations: 5.672 kB / 0.8107 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.6392, allocations: 12.72 kB / 0.8107 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.6396, allocations: 63.78 kB / 0.8108 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.6397, allocations: 59.2 kB / 0.8108 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.6398, allocations: 19.31 kB / 0.8109 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.6398, allocations: 16.95 kB / 0.8109 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.6399, allocations: 33.02 kB / 0.8109 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.6399, allocations: 1.094 kB / 0.8109 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.64, allocations: 16.73 kB / 0.8109 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.64, allocations: 11.91 kB / 0.8109 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.6401, allocations: 24.77 kB / 0.811 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.6402, allocations: 55.34 kB / 0.811 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6402, allocations: 6.094 kB / 0.811 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6402, allocations: 0 / 0.811 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6402, allocations: 1.203 kB / 0.811 GB, free: 2.637 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006133/0.6408, allocations: 368.8 kB / 0.8114 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6409, allocations: 16.58 kB / 0.8114 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.6409, allocations: 34.44 kB / 0.8114 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.6409, allocations: 7.938 kB / 0.8114 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.6411, allocations: 172.9 kB / 0.8116 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.6411, allocations: 6.156 kB / 0.8116 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.6411, allocations: 3.469 kB / 0.8116 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.6413, allocations: 72.84 kB / 0.8117 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.6413, allocations: 3.938 kB / 0.8117 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.6414, allocations: 2.484 kB / 0.8117 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6414, allocations: 3.938 kB / 0.8117 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.6416, allocations: 76.92 kB / 0.8118 GB, free: 17.97 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.642, allocations: 276.7 kB / 0.812 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.6422, allocations: 58.91 kB / 0.8121 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.6424, allocations: 43.08 kB / 0.8121 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.6425, allocations: 88.03 kB / 0.8122 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.6426, allocations: 40.53 kB / 0.8122 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.6426, allocations: 0 / 0.8122 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005052/0.6431, allocations: 133.7 kB / 0.8124 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6431, allocations: 51.41 kB / 0.8124 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.6432, allocations: 114.9 kB / 0.8125 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.6432, allocations: 30.52 kB / 0.8126 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.6433, allocations: 87.62 kB / 0.8126 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.6433, allocations: 12.45 kB / 0.8126 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.6433, allocations: 22.95 kB / 0.8127 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.6434, allocations: 318.2 kB / 0.813 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.6436, allocations: 33.31 kB / 0.813 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.6437, allocations: 35.45 kB / 0.813 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.644, allocations: 71.09 kB / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.644, allocations: 0 / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002931/0.6443, allocations: 96.95 kB / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6443, allocations: 5.5 kB / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.6443, allocations: 0 / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6443, allocations: 5.938 kB / 0.8132 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.6444, allocations: 14.33 kB / 0.8132 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.6445, allocations: 2.344 kB / 0.8132 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.6445, allocations: 17.05 kB / 0.8132 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6445, allocations: 1.203 kB / 0.8132 GB, free: 16.82 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 (3): * Single equations (assignments): 3 * 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.409e-05/0.6446, allocations: 121.4 kB / 0.8134 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.6447, allocations: 7.094 kB / 0.8134 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.645, allocations: 109.6 kB / 0.8135 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.645, allocations: 0 / 0.8135 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.645, allocations: 0 / 0.8135 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.645, allocations: 0 / 0.8135 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.6452, allocations: 173.6 kB / 0.8136 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6452, allocations: 2.062 kB / 0.8136 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-05/0.6453, allocations: 16.58 kB / 0.8137 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6453, allocations: 5.344 kB / 0.8137 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.6453, allocations: 3.594 kB / 0.8137 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6453, allocations: 1.906 kB / 0.8137 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6453, allocations: 0 / 0.8137 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.6456, allocations: 201.1 kB / 0.8139 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.6457, allocations: 88.08 kB / 0.8139 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.6457, allocations: 0 / 0.8139 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.6458, allocations: 12.19 kB / 0.814 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.6459, allocations: 9.797 kB / 0.814 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.6459, allocations: 3.5 kB / 0.814 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.6459, allocations: 94.33 kB / 0.8141 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6459, allocations: 0 / 0.8141 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002202/0.6461, allocations: 11.16 kB / 0.8141 GB, free: 16.14 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 (3): * Single equations (assignments): 3 * 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.0006327/0.6468, allocations: 0.7469 MB / 0.8148 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.6471, allocations: 70.61 kB / 0.8149 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6471, allocations: 3.125 kB / 0.8149 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.6473, allocations: 37.95 kB / 0.8149 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.6476, allocations: 8.719 kB / 0.8149 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.6492, allocations: 1.43 MB / 0.8163 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.6494, allocations: 0.6813 MB / 0.817 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.6494, allocations: 3.688 kB / 0.817 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.6495, allocations: 16.22 kB / 0.817 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.6495, allocations: 0 / 0.817 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.6668, allocations: 2.046 MB / 0.819 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.565, allocations: 9.078 kB / 0.819 GB, free: 13.2 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX_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_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)