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.005753/0.005753, allocations: 98.48 kB / 15.73 MB, free: 6.004 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.001296/0.001296, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 274.4 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 178.6 MB / 0.5074 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 91.84 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5459, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003039/0.549, allocations: 1.65 MB / 0.7829 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2094/0.7584, allocations: 151.6 MB / 0.9309 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.7586, allocations: 3.938 kB / 0.9309 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.7589, allocations: 11.88 kB / 0.931 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.7591, allocations: 51.62 kB / 0.931 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.7596, allocations: 139.4 kB / 0.9311 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.7598, allocations: 115.6 kB / 0.9312 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.76, allocations: 36.91 kB / 0.9313 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.7613, allocations: 172.3 kB / 0.9314 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.7614, allocations: 43.78 kB / 0.9315 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.7614, allocations: 8 kB / 0.9315 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.7618, allocations: 183.7 kB / 0.9317 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.7619, allocations: 23.91 kB / 0.9317 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.762, allocations: 47.75 kB / 0.9317 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.7624, allocations: 188.9 kB / 0.9319 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7624, allocations: 0 / 0.9319 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7624, allocations: 0 / 0.9319 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.7624, allocations: 0 / 0.9319 GB, free: 4.512 MB / 0.6856 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.0007392/0.7631, allocations: 458.5 kB / 0.9324 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7632, allocations: 12.03 kB / 0.9324 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.7632, allocations: 42.73 kB / 0.9324 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008703/0.7641, allocations: 75.8 kB / 0.9325 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.7644, allocations: 214.8 kB / 0.9327 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.7644, allocations: 4 kB / 0.9327 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.7644, allocations: 8 kB / 0.9327 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.7649, allocations: 129.6 kB / 0.9328 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7649, allocations: 0 / 0.9328 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.7649, allocations: 11.94 kB / 0.9328 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7649, allocations: 4 kB / 0.9328 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.7655, allocations: 131.9 kB / 0.933 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.7663, allocations: 420.4 kB / 0.9334 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.767, allocations: 251.7 kB / 0.9336 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.7673, allocations: 76.8 kB / 0.9337 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.7674, allocations: 4 kB / 0.9337 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.7674, allocations: 34.55 kB / 0.9337 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.7674, allocations: 0 / 0.9337 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.0008041/0.7682, allocations: 209.5 kB / 0.9339 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.7682, allocations: 51.41 kB / 0.934 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.7684, allocations: 152.3 kB / 0.9341 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.7684, allocations: 25.7 kB / 0.9341 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.7685, allocations: 104.2 kB / 0.9342 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.7685, allocations: 31.69 kB / 0.9343 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.7686, allocations: 29.7 kB / 0.9343 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7688, allocations: 326.8 kB / 0.9346 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.769, allocations: 51.94 kB / 0.9347 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.7692, allocations: 82.83 kB / 0.9347 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.7697, allocations: 120.9 kB / 0.9348 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7697, allocations: 0 / 0.9348 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005014/0.7702, allocations: 157.6 kB / 0.935 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7702, allocations: 8 kB / 0.935 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7702, allocations: 0 / 0.935 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7703, allocations: 0 / 0.935 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.7705, allocations: 31.91 kB / 0.935 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7705, allocations: 4 kB / 0.935 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.7706, allocations: 15.92 kB / 0.9351 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.7707, allocations: 11.92 kB / 0.9351 GB, free: 1.027 MB / 0.6856 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.0001013/0.7708, allocations: 117.8 kB / 0.9352 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.7708, allocations: 11.91 kB / 0.9352 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.7709, allocations: 24.64 kB / 0.9352 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7709, allocations: 7.984 kB / 0.9352 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7709, allocations: 0 / 0.9352 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.7709, allocations: 0 / 0.9352 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008345/0.7718, allocations: 458.3 kB / 0.9357 GB, free: 364 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7718, allocations: 15.94 kB / 0.9357 GB, free: 348 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.772, allocations: 23.97 kB / 0.9357 GB, free: 324 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.772, allocations: 0 / 0.9357 GB, free: 324 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.772, allocations: 4 kB / 0.9357 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.772, allocations: 3.938 kB / 0.9357 GB, free: 316 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.772, allocations: 0 / 0.9357 GB, free: 316 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.7726, allocations: 263.3 kB / 0.936 GB, free: 36 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.7726, allocations: 85.06 kB / 0.936 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.7727, allocations: 0 / 0.936 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.7728, allocations: 23.91 kB / 0.9361 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.7729, allocations: 11.98 kB / 0.9361 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.7729, allocations: 0 / 0.9361 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 8.929e-05/0.773, allocations: 115.9 kB / 0.9362 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.773, allocations: 0 / 0.9362 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000256/0.7733, allocations: 27.94 kB / 0.9362 GB, free: 15.76 MB / 0.7012 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.0009729/0.7743, allocations: 0.8131 MB / 0.937 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005263/0.7748, allocations: 123.9 kB / 0.9371 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7748, allocations: 0 / 0.9371 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.7751, allocations: 67.88 kB / 0.9372 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.7754, allocations: 44.45 kB / 0.9372 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.7782, allocations: 1.736 MB / 0.9389 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.7785, allocations: 0.7041 MB / 0.9396 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.7786, allocations: 20.42 kB / 0.9396 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.7787, allocations: 31.42 kB / 0.9397 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of SimCode: time 3.31e-07/0.7787, allocations: 0 / 0.9397 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.8041, allocations: 3.374 MB / 0.943 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.911, allocations: 10 kB / 0.943 GB, free: 8.879 MB / 0.7012 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)