Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.804/0.804, allocations: 143.8 MB / 159.1 MB, free: 6.492 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.0009728/0.0009728, allocations: 190.3 kB / 192 MB, free: 6.715 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.43/1.43, allocations: 225.7 MB / 450.4 MB, free: 4.949 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.0008193/0.0008193, allocations: 119.4 kB / 0.5211 GB, free: 1.609 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.001593/0.001593, allocations: 281 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 13.41 kB / 0.6948 GB, free: 59.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1559, allocations: 82.45 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4989/0.6549, allocations: 136.1 MB / 0.9083 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001128/0.655, allocations: 48.53 kB / 0.9083 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.655, allocations: 1.438 kB / 0.9083 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.6552, allocations: 3.688 kB / 0.9083 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.6552, allocations: 8.844 kB / 0.9083 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.6559, allocations: 195.4 kB / 0.9085 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.816e-05/0.656, allocations: 64.48 kB / 0.9086 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.656, allocations: 1.156 kB / 0.9086 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.656, allocations: 20.75 kB / 0.9086 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.6561, allocations: 14.28 kB / 0.9086 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.6561, allocations: 0 / 0.9086 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.6565, allocations: 233.2 kB / 0.9088 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.6566, allocations: 11.42 kB / 0.9088 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.6566, allocations: 35.44 kB / 0.9089 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.6569, allocations: 125.4 kB / 0.909 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6569, allocations: 4.391 kB / 0.909 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6569, allocations: 0 / 0.909 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.6569, allocations: 3.406 kB / 0.909 GB, free: 14.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003311/0.6572, allocations: 328.9 kB / 0.9093 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.6573, allocations: 14.5 kB / 0.9093 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.6575, allocations: 34.53 kB / 0.9094 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.6577, allocations: 160.6 kB / 0.9095 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.6577, allocations: 30.52 kB / 0.9095 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.6577, allocations: 3.5 kB / 0.9095 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.6579, allocations: 49.73 kB / 0.9096 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.6579, allocations: 0 / 0.9096 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.6579, allocations: 0 / 0.9096 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.6579, allocations: 6.438 kB / 0.9096 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.658, allocations: 24.94 kB / 0.9096 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.6583, allocations: 257.5 kB / 0.9099 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/0.6584, allocations: 23.27 kB / 0.9099 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.6584, allocations: 10.61 kB / 0.9099 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.6585, allocations: 93.47 kB / 0.91 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.6586, allocations: 34.25 kB / 0.91 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6586, allocations: 0 / 0.91 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002125/0.6588, allocations: 51.14 kB / 0.9101 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6588, allocations: 51.41 kB / 0.9101 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.6589, allocations: 119.5 kB / 0.9102 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.6589, allocations: 25.7 kB / 0.9103 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.659, allocations: 89 kB / 0.9103 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.659, allocations: 8.031 kB / 0.9103 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.659, allocations: 0.5625 kB / 0.9103 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6591, allocations: 316.6 kB / 0.9106 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.6591, allocations: 7.656 kB / 0.9107 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.6592, allocations: 21.72 kB / 0.9107 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.338e-05/0.6592, allocations: 35.17 kB / 0.9107 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6592, allocations: 0 / 0.9107 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.956e-05/0.6593, allocations: 56.64 kB / 0.9108 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6593, allocations: 6.938 kB / 0.9108 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6593, allocations: 2.844 kB / 0.9108 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.6594, allocations: 4.094 kB / 0.9108 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.6594, allocations: 5.469 kB / 0.9108 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6594, allocations: 2.656 kB / 0.9108 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.6595, allocations: 11.09 kB / 0.9108 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.6595, allocations: 2.625 kB / 0.9108 GB, free: 12.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 7.674e-05/0.6596, allocations: 117.6 kB / 0.9109 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.6596, allocations: 0 / 0.9109 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.6596, allocations: 9.531 kB / 0.9109 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6596, allocations: 0 / 0.9109 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6596, allocations: 5.969 kB / 0.9109 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6596, allocations: 5.906 kB / 0.9109 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.6599, allocations: 357.8 kB / 0.9113 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6599, allocations: 2.578 kB / 0.9113 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.6599, allocations: 2.438 kB / 0.9113 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.66, allocations: 6.812 kB / 0.9113 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.66, allocations: 0 / 0.9113 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.66, allocations: 0 / 0.9113 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.66, allocations: 4.062 kB / 0.9113 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.505e-05/0.66, allocations: 65.47 kB / 0.9113 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.6601, allocations: 85.86 kB / 0.9114 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.6601, allocations: 8.438 kB / 0.9114 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.6602, allocations: 11.48 kB / 0.9114 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.6602, allocations: 4.031 kB / 0.9115 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.6602, allocations: 2.844 kB / 0.9115 GB, free: 12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.6603, allocations: 80.97 kB / 0.9115 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6603, allocations: 0 / 0.9115 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001727/0.6605, allocations: 8.281 kB / 0.9115 GB, free: 11.93 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.903e-05/0.6606, allocations: 109.7 kB / 0.9116 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.6606, allocations: 24.31 kB / 0.9117 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6606, allocations: 0 / 0.9117 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.766e-06/0.6607, allocations: 2.719 kB / 0.9117 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.6608, allocations: 4.219 kB / 0.9117 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.6611, allocations: 131.4 kB / 0.9118 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6613, allocations: 0.6857 MB / 0.9125 GB, free: 11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.759e-05/0.6614, allocations: 13.88 kB / 0.9125 GB, free: 11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.6614, allocations: 7.438 kB / 0.9125 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.6615, allocations: 0 / 0.9125 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of Templates: time 0.002141/0.6636, allocations: 0.5538 MB / 0.913 GB, free: 10.92 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)