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.004634/0.004634, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001267/0.001268, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 278.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.002701, allocations: 95.84 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1851, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00346/0.1886, allocations: 1.631 MB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5639/0.7525, allocations: 151.6 MB / 0.9155 GB, free: 9.992 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.7528, allocations: 0 / 0.9155 GB, free: 9.992 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.7529, allocations: 21.39 kB / 0.9155 GB, free: 9.973 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.7532, allocations: 51.64 kB / 0.9156 GB, free: 9.922 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.7537, allocations: 143.4 kB / 0.9157 GB, free: 9.781 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.7539, allocations: 123.6 kB / 0.9158 GB, free: 9.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.754, allocations: 29.38 kB / 0.9159 GB, free: 9.633 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.7553, allocations: 165.2 kB / 0.916 GB, free: 9.508 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.7554, allocations: 47.77 kB / 0.9161 GB, free: 9.461 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.7554, allocations: 8 kB / 0.9161 GB, free: 9.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.7558, allocations: 179.7 kB / 0.9162 GB, free: 9.277 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.7559, allocations: 23.91 kB / 0.9163 GB, free: 9.254 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.756, allocations: 47.73 kB / 0.9163 GB, free: 9.207 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.7563, allocations: 184.8 kB / 0.9165 GB, free: 9.031 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7563, allocations: 0 / 0.9165 GB, free: 9.031 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7563, allocations: 0 / 0.9165 GB, free: 9.031 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.7564, allocations: 0 / 0.9165 GB, free: 9.031 MB / 0.67 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.000692/0.7571, allocations: 454.6 kB / 0.9169 GB, free: 8.539 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7571, allocations: 12.02 kB / 0.9169 GB, free: 8.527 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.7572, allocations: 38.94 kB / 0.917 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.758, allocations: 79.8 kB / 0.917 GB, free: 8.402 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.7583, allocations: 214.7 kB / 0.9172 GB, free: 8.152 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.7583, allocations: 8 kB / 0.9173 GB, free: 8.145 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.7584, allocations: 7.938 kB / 0.9173 GB, free: 8.137 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.7588, allocations: 141.5 kB / 0.9174 GB, free: 7.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7588, allocations: 0 / 0.9174 GB, free: 7.992 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.7588, allocations: 0 / 0.9174 GB, free: 7.992 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.7588, allocations: 11.92 kB / 0.9174 GB, free: 7.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.7594, allocations: 139.9 kB / 0.9175 GB, free: 7.844 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.7602, allocations: 401.1 kB / 0.9179 GB, free: 7.402 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.7609, allocations: 251.7 kB / 0.9182 GB, free: 7.129 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.7612, allocations: 80.72 kB / 0.9182 GB, free: 7.047 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.7612, allocations: 7.984 kB / 0.9182 GB, free: 7.039 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.7612, allocations: 30.56 kB / 0.9183 GB, free: 7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.7612, allocations: 0 / 0.9183 GB, free: 7 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.0007936/0.762, allocations: 215 kB / 0.9185 GB, free: 6.785 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.7621, allocations: 51.41 kB / 0.9185 GB, free: 6.723 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.7622, allocations: 144.5 kB / 0.9187 GB, free: 6.574 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.7623, allocations: 33.7 kB / 0.9187 GB, free: 6.535 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.7624, allocations: 108.2 kB / 0.9188 GB, free: 6.426 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.7624, allocations: 27.8 kB / 0.9188 GB, free: 6.398 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.7625, allocations: 25.7 kB / 0.9189 GB, free: 6.367 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7626, allocations: 318.8 kB / 0.9192 GB, free: 6.047 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.7628, allocations: 55.88 kB / 0.9192 GB, free: 5.992 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.7631, allocations: 82.52 kB / 0.9193 GB, free: 5.902 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.7635, allocations: 120.8 kB / 0.9194 GB, free: 5.781 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7635, allocations: 0 / 0.9194 GB, free: 5.781 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004809/0.764, allocations: 157.9 kB / 0.9196 GB, free: 5.621 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.764, allocations: 8 kB / 0.9196 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7641, allocations: 0 / 0.9196 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7641, allocations: 4 kB / 0.9196 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.7643, allocations: 31.91 kB / 0.9196 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7643, allocations: 80 / 0.9196 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.7645, allocations: 23.91 kB / 0.9196 GB, free: 5.555 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.7645, allocations: 7.984 kB / 0.9196 GB, free: 5.547 MB / 0.67 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.0001022/0.7646, allocations: 118.4 kB / 0.9197 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.7646, allocations: 15.91 kB / 0.9198 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.7647, allocations: 22.64 kB / 0.9198 GB, free: 5.387 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.7647, allocations: 0 / 0.9198 GB, free: 5.387 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7647, allocations: 0 / 0.9198 GB, free: 5.387 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7647, allocations: 0 / 0.9198 GB, free: 5.387 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008502/0.7656, allocations: 466.3 kB / 0.9202 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7656, allocations: 7.938 kB / 0.9202 GB, free: 4.867 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.7658, allocations: 27.97 kB / 0.9203 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7658, allocations: 0 / 0.9203 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.7658, allocations: 4 kB / 0.9203 GB, free: 4.836 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.7658, allocations: 7.922 kB / 0.9203 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7658, allocations: 0 / 0.9203 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.7664, allocations: 255.4 kB / 0.9205 GB, free: 4.562 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.7664, allocations: 96.92 kB / 0.9206 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.7665, allocations: 0 / 0.9206 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.7666, allocations: 24.8 kB / 0.9206 GB, free: 4.426 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.7667, allocations: 11.98 kB / 0.9206 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.7667, allocations: 0 / 0.9206 GB, free: 4.414 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.549e-05/0.7668, allocations: 112.9 kB / 0.9207 GB, free: 4.305 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7668, allocations: 0 / 0.9207 GB, free: 4.305 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000268/0.7671, allocations: 28 kB / 0.9208 GB, free: 4.277 MB / 0.67 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.0009565/0.768, allocations: 0.806 MB / 0.9216 GB, free: 3.445 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.7686, allocations: 123.8 kB / 0.9217 GB, free: 3.324 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7686, allocations: 0 / 0.9217 GB, free: 3.324 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.7688, allocations: 63.94 kB / 0.9217 GB, free: 3.262 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.7692, allocations: 45.92 kB / 0.9218 GB, free: 3.219 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.7719, allocations: 1.737 MB / 0.9235 GB, free: 1.402 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.7723, allocations: 0.7002 MB / 0.9242 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000139/0.7724, allocations: 28.41 kB / 0.9242 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.7725, allocations: 35.42 kB / 0.9242 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.7725, allocations: 0 / 0.9242 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.798, allocations: 3.373 MB / 0.9275 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.684, allocations: 11.95 kB / 0.9275 GB, free: 13.41 MB / 0.6856 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)