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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001833, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001983/0.001983, allocations: 195.7 kB / 16.14 MB, free: 6.691 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002643/0.002643, allocations: 286.5 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5068 GB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 94.88 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1816, allocations: 89.16 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003328/0.185, allocations: 1.701 MB / 0.6944 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4957/0.6807, allocations: 149.2 MB / 0.8402 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.6809, allocations: 2.438 kB / 0.8402 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.6811, allocations: 15.86 kB / 0.8402 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.6813, allocations: 40.31 kB / 0.8402 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.6817, allocations: 129.7 kB / 0.8404 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.6818, allocations: 117.2 kB / 0.8405 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.682, allocations: 27.27 kB / 0.8405 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.684, allocations: 162.3 kB / 0.8407 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.6841, allocations: 36.66 kB / 0.8407 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.6841, allocations: 4.5 kB / 0.8407 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.6845, allocations: 184.2 kB / 0.8409 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.6845, allocations: 20.97 kB / 0.8409 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.6846, allocations: 41.91 kB / 0.8409 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.6849, allocations: 192 kB / 0.8411 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6849, allocations: 0 / 0.8411 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.02e-07/0.6849, allocations: 0 / 0.8411 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.6849, allocations: 0 / 0.8411 GB, free: 10.91 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.0007199/0.6857, allocations: 440.4 kB / 0.8415 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.6857, allocations: 9.344 kB / 0.8415 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009947/0.6867, allocations: 87.03 kB / 0.8416 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.687, allocations: 204.9 kB / 0.8418 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.687, allocations: 8.438 kB / 0.8418 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.687, allocations: 8.969 kB / 0.8418 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.6875, allocations: 144.3 kB / 0.842 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.6875, allocations: 0 / 0.842 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.6875, allocations: 4 kB / 0.842 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.6876, allocations: 6.781 kB / 0.842 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.6881, allocations: 135.9 kB / 0.8421 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/0.689, allocations: 406.1 kB / 0.8425 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.6899, allocations: 244 kB / 0.8427 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.6901, allocations: 79.28 kB / 0.8428 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.6902, allocations: 1.094 kB / 0.8428 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6902, allocations: 41.75 kB / 0.8429 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.6902, allocations: 0 / 0.8429 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007841/0.691, allocations: 221 kB / 0.8431 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.691, allocations: 52.91 kB / 0.8431 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.6912, allocations: 145.8 kB / 0.8433 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.6912, allocations: 25.7 kB / 0.8433 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.6913, allocations: 101.8 kB / 0.8434 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.6913, allocations: 31.66 kB / 0.8434 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.6914, allocations: 23.7 kB / 0.8434 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6916, allocations: 326.3 kB / 0.8437 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.6918, allocations: 56.47 kB / 0.8438 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.6921, allocations: 75.77 kB / 0.8439 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.6925, allocations: 121.8 kB / 0.844 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6926, allocations: 0 / 0.844 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005171/0.6931, allocations: 165 kB / 0.8441 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.6931, allocations: 7.469 kB / 0.8442 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6931, allocations: 3.938 kB / 0.8442 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.6931, allocations: 0 / 0.8442 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.6934, allocations: 31.22 kB / 0.8442 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.6934, allocations: 0 / 0.8442 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.6936, allocations: 22.97 kB / 0.8442 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.6936, allocations: 1.375 kB / 0.8442 GB, free: 8.297 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.0001215/0.6937, allocations: 123.2 kB / 0.8443 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.6938, allocations: 15.92 kB / 0.8443 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.6938, allocations: 15.47 kB / 0.8444 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6938, allocations: 1.375 kB / 0.8444 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6939, allocations: 1.375 kB / 0.8444 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6939, allocations: 4 kB / 0.8444 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.6948, allocations: 468.1 kB / 0.8448 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6948, allocations: 0 / 0.8448 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.695, allocations: 33.78 kB / 0.8448 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.695, allocations: 1.375 kB / 0.8448 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.695, allocations: 5.359 kB / 0.8448 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.695, allocations: 0 / 0.8448 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.695, allocations: 3.938 kB / 0.8448 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.6956, allocations: 264.3 kB / 0.8451 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.932e-05/0.6957, allocations: 89.73 kB / 0.8452 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.6957, allocations: 1.375 kB / 0.8452 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.6959, allocations: 12.23 kB / 0.8452 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.696, allocations: 16.05 kB / 0.8452 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.696, allocations: 5.375 kB / 0.8452 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.3e-05/0.6961, allocations: 112.5 kB / 0.8453 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6961, allocations: 0 / 0.8453 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000296/0.6964, allocations: 35.31 kB / 0.8454 GB, free: 7.277 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.0002217/0.6966, allocations: 111.9 kB / 0.8455 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004981/0.6971, allocations: 128.6 kB / 0.8456 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6971, allocations: 0 / 0.8456 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.6974, allocations: 64.92 kB / 0.8457 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.6977, allocations: 32.94 kB / 0.8457 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.6983, allocations: 273 kB / 0.8459 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.6987, allocations: 0.7003 MB / 0.8466 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.6989, allocations: 28.09 kB / 0.8467 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.6989, allocations: 14.31 kB / 0.8467 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.6989, allocations: 0 / 0.8467 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of Templates: time 0.005079/0.704, allocations: 1.762 MB / 0.8484 GB, free: 5.242 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)