Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7717/0.7717, allocations: 143.8 MB / 159.1 MB, free: 6.484 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 190.4 kB / 192 MB, free: 6.707 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.7 MB / 450.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008027/0.0008027, allocations: 107.5 kB / 0.5211 GB, free: 1.648 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001598/0.001598, allocations: 279.2 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004543, allocations: 12.97 kB / 0.6948 GB, free: 59.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1736, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001933/0.1756, allocations: 1.333 MB / 0.7766 GB, free: 13 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4815/0.6571, allocations: 140.7 MB / 0.9141 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.6572, allocations: 1.438 kB / 0.9141 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.6574, allocations: 13.97 kB / 0.9141 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.6576, allocations: 40.55 kB / 0.9141 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.658, allocations: 123.7 kB / 0.9142 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.6581, allocations: 116 kB / 0.9143 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.6583, allocations: 29.69 kB / 0.9144 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.6605, allocations: 149.5 kB / 0.9145 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.6606, allocations: 39.52 kB / 0.9146 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.6606, allocations: 2.469 kB / 0.9146 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.6611, allocations: 181.5 kB / 0.9147 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.6612, allocations: 20.33 kB / 0.9147 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.6613, allocations: 64.98 kB / 0.9148 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.6616, allocations: 182.9 kB / 0.915 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6617, allocations: 0.5 kB / 0.915 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6617, allocations: 2.312 kB / 0.915 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.6617, allocations: 0 / 0.915 GB, free: 12.5 MB / 0.5573 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.0006759/0.6624, allocations: 443.4 kB / 0.9154 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6624, allocations: 9.469 kB / 0.9154 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008837/0.6633, allocations: 81.34 kB / 0.9155 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.6636, allocations: 206.8 kB / 0.9157 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.6636, allocations: 3.594 kB / 0.9157 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.6636, allocations: 8.344 kB / 0.9157 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.6641, allocations: 148.2 kB / 0.9158 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6642, allocations: 5.109 kB / 0.9158 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.6642, allocations: 3.375 kB / 0.9159 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.6642, allocations: 8.219 kB / 0.9159 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.6648, allocations: 156.8 kB / 0.916 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008662/0.6657, allocations: 423.1 kB / 0.9164 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.6665, allocations: 262.5 kB / 0.9167 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.6667, allocations: 83.5 kB / 0.9167 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.6668, allocations: 4.641 kB / 0.9167 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.6668, allocations: 37.81 kB / 0.9168 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.6668, allocations: 1.375 kB / 0.9168 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0008223/0.6676, allocations: 245.1 kB / 0.917 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.6677, allocations: 58.25 kB / 0.9171 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.6678, allocations: 142.4 kB / 0.9172 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.6679, allocations: 30.3 kB / 0.9172 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.6679, allocations: 101.7 kB / 0.9173 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.668, allocations: 29.47 kB / 0.9174 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.668, allocations: 0.6562 kB / 0.9174 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6681, allocations: 323.2 kB / 0.9177 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.6684, allocations: 65.59 kB / 0.9177 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.6686, allocations: 95.84 kB / 0.9178 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.669, allocations: 140.6 kB / 0.918 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.669, allocations: 0 / 0.918 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000464/0.6695, allocations: 178.6 kB / 0.9181 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6695, allocations: 10.28 kB / 0.9181 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6695, allocations: 2.562 kB / 0.9181 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.6696, allocations: 0 / 0.9181 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.6698, allocations: 31.02 kB / 0.9182 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.6698, allocations: 5.359 kB / 0.9182 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.67, allocations: 31.98 kB / 0.9182 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.67, allocations: 3.453 kB / 0.9182 GB, free: 10.6 MB / 0.5573 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.0001091/0.6701, allocations: 125.5 kB / 0.9183 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.6701, allocations: 10.84 kB / 0.9183 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.6702, allocations: 17.44 kB / 0.9184 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6702, allocations: 1.281 kB / 0.9184 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6702, allocations: 4 kB / 0.9184 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6702, allocations: 0 / 0.9184 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008063/0.671, allocations: 489.1 kB / 0.9188 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.671, allocations: 0 / 0.9188 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.6712, allocations: 31.08 kB / 0.9189 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.6712, allocations: 4 kB / 0.9189 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.6713, allocations: 3.688 kB / 0.9189 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6713, allocations: 1.781 kB / 0.9189 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6713, allocations: 3.938 kB / 0.9189 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.6718, allocations: 281.3 kB / 0.9191 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.6719, allocations: 85.92 kB / 0.9192 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.6719, allocations: 6.078 kB / 0.9192 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.6721, allocations: 21.45 kB / 0.9192 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.6721, allocations: 13.17 kB / 0.9193 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.6721, allocations: 7.812 kB / 0.9193 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.686e-05/0.6722, allocations: 112.8 kB / 0.9194 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6723, allocations: 0 / 0.9194 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002516/0.6725, allocations: 30.62 kB / 0.9194 GB, free: 9.82 MB / 0.5573 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.0001685/0.6727, allocations: 121.4 kB / 0.9195 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004685/0.6732, allocations: 148.2 kB / 0.9197 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6732, allocations: 0 / 0.9197 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.6734, allocations: 81.73 kB / 0.9197 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.6737, allocations: 27.34 kB / 0.9198 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.6743, allocations: 284.3 kB / 0.92 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.6746, allocations: 0.702 MB / 0.9207 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.6747, allocations: 25.34 kB / 0.9207 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.6748, allocations: 15.53 kB / 0.9208 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.6748, allocations: 0 / 0.9208 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of Templates: time 0.004213/0.679, allocations: 1.756 MB / 0.9225 GB, free: 8.68 MB / 0.5573 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)