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.0009609/0.0009609, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000954/0.0009541, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 274.6 kB / 291.2 MB, free: 2.027 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7918/0.7918, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004154, allocations: 14.41 kB / 0.5683 GB, free: 38.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1471, allocations: 83.09 MB / 0.6494 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001679/0.1488, allocations: 1.322 MB / 0.6507 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1349/0.2838, allocations: 127.9 MB / 0.7756 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.2839, allocations: 4 kB / 0.7756 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.284, allocations: 11.92 kB / 0.7756 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.2843, allocations: 43.86 kB / 0.7757 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.2846, allocations: 119.6 kB / 0.7758 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.2847, allocations: 79.83 kB / 0.7759 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.2849, allocations: 25.38 kB / 0.7759 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.2851, allocations: 87.81 kB / 0.776 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.2852, allocations: 43.78 kB / 0.776 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2852, allocations: 0 / 0.776 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.2855, allocations: 187.7 kB / 0.7762 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.2856, allocations: 23.92 kB / 0.7762 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.2856, allocations: 33.7 kB / 0.7762 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.2858, allocations: 140 kB / 0.7764 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.2858, allocations: 3.938 kB / 0.7764 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2858, allocations: 0 / 0.7764 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2858, allocations: 3.938 kB / 0.7764 GB, free: 1.32 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005312/0.2864, allocations: 434.9 kB / 0.7768 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.2864, allocations: 8.031 kB / 0.7768 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.2873, allocations: 83.77 kB / 0.7769 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2875, allocations: 202.9 kB / 0.7771 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2875, allocations: 0 / 0.7771 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.2876, allocations: 12 kB / 0.7771 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.288, allocations: 149.5 kB / 0.7772 GB, free: 364 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.288, allocations: 0 / 0.7772 GB, free: 364 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.288, allocations: 0 / 0.7772 GB, free: 364 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.288, allocations: 11.88 kB / 0.7772 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.2886, allocations: 157.9 kB / 0.7774 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2707/0.5593, allocations: 401 kB / 0.7778 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.56, allocations: 261.5 kB / 0.778 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.56, allocations: 4.594 kB / 0.778 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.56, allocations: 36.5 kB / 0.7781 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.5601, allocations: 2.125 kB / 0.7781 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007507/0.5608, allocations: 246.7 kB / 0.7783 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.5608, allocations: 52.81 kB / 0.7783 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.561, allocations: 149.9 kB / 0.7785 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.561, allocations: 25.7 kB / 0.7785 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.561, allocations: 105.4 kB / 0.7786 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.5611, allocations: 31.88 kB / 0.7786 GB, free: 130 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.5611, allocations: 0.5938 kB / 0.7786 GB, free: 130 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.5611, allocations: 328.6 kB / 0.779 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.5614, allocations: 67.42 kB / 0.779 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.5616, allocations: 91.17 kB / 0.7791 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.5618, allocations: 66.44 kB / 0.7792 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5618, allocations: 1 kB / 0.7792 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004732/0.5623, allocations: 178.9 kB / 0.7793 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.5623, allocations: 6.078 kB / 0.7794 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5624, allocations: 0 / 0.7794 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5624, allocations: 1.344 kB / 0.7794 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.5626, allocations: 36.92 kB / 0.7794 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5626, allocations: 4.297 kB / 0.7794 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.5628, allocations: 23.44 kB / 0.7794 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.5628, allocations: 10.09 kB / 0.7794 GB, free: 129.7 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.409e-05/0.5629, allocations: 116 kB / 0.7795 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.5629, allocations: 14.34 kB / 0.7795 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.212e-05/0.563, allocations: 17.56 kB / 0.7796 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.563, allocations: 4.656 kB / 0.7796 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.563, allocations: 5.125 kB / 0.7796 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.563, allocations: 0 / 0.7796 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.5637, allocations: 482.6 kB / 0.78 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5638, allocations: 0.5938 kB / 0.78 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.5639, allocations: 32.41 kB / 0.7801 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5639, allocations: 5.562 kB / 0.7801 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.564, allocations: 2.062 kB / 0.7801 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.564, allocations: 1.406 kB / 0.7801 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.564, allocations: 1.562 kB / 0.7801 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.5645, allocations: 288.1 kB / 0.7804 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.5645, allocations: 98.36 kB / 0.7804 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.5645, allocations: 4.547 kB / 0.7804 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.5647, allocations: 19.45 kB / 0.7805 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.5648, allocations: 4.484 kB / 0.7805 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.5648, allocations: 9.641 kB / 0.7805 GB, free: 129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.5649, allocations: 117 kB / 0.7806 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5649, allocations: 0 / 0.7806 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002592/0.5651, allocations: 33.72 kB / 0.7806 GB, free: 128.9 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.5653, allocations: 109.2 kB / 0.7807 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.5657, allocations: 148.9 kB / 0.7809 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5657, allocations: 3.828 kB / 0.7809 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.566, allocations: 75.44 kB / 0.7809 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.5662, allocations: 30.5 kB / 0.781 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.5667, allocations: 258.7 kB / 0.7812 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.5668, allocations: 0.7099 MB / 0.7819 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.567, allocations: 28.66 kB / 0.7819 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.567, allocations: 17.33 kB / 0.782 GB, free: 128 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.567, allocations: 0 / 0.782 GB, free: 128 MB / 0.5606 GB Notification: Performance of Templates: time 0.004407/0.5715, allocations: 1.686 MB / 0.7836 GB, free: 127.9 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: