Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8084/0.8084, 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.001032/0.001032, allocations: 187.3 kB / 192 MB, free: 6.711 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.336/1.336, 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.0007468/0.000747, allocations: 99.53 kB / 0.5211 GB, free: 1.605 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.001641/0.001641, allocations: 282.9 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005904/0.0005905, allocations: 14.5 kB / 0.6948 GB, free: 59.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1614, allocations: 82.46 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5005/0.662, allocations: 135.6 MB / 0.9077 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.6621, allocations: 59.61 kB / 0.9078 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.6622, allocations: 1.859 kB / 0.9078 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.6623, allocations: 3.938 kB / 0.9078 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.6624, allocations: 9.391 kB / 0.9078 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.6628, allocations: 92.55 kB / 0.9079 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.029e-05/0.6629, allocations: 64.33 kB / 0.9079 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.663, allocations: 2.906 kB / 0.9079 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.663, allocations: 22.95 kB / 0.908 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.6631, allocations: 12.89 kB / 0.908 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.6631, allocations: 0 / 0.908 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.6633, allocations: 77.8 kB / 0.908 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.6634, allocations: 4.875 kB / 0.908 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.6634, allocations: 44.47 kB / 0.9081 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.6636, allocations: 74.97 kB / 0.9082 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.6636, allocations: 0 / 0.9082 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.484e-06/0.6636, allocations: 6.438 kB / 0.9082 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.6636, allocations: 0 / 0.9082 GB, free: 14.3 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.0003655/0.664, allocations: 327.9 kB / 0.9085 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.664, allocations: 10 kB / 0.9085 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.6643, allocations: 25.05 kB / 0.9085 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.6644, allocations: 162.9 kB / 0.9087 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/0.6645, allocations: 29.64 kB / 0.9087 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.6645, allocations: 7.406 kB / 0.9087 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.6646, allocations: 48.06 kB / 0.9087 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6646, allocations: 3.938 kB / 0.9087 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.6647, allocations: 0 / 0.9087 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.6647, allocations: 3.312 kB / 0.9088 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.6647, allocations: 18.69 kB / 0.9088 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.6651, allocations: 258.9 kB / 0.909 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.267e-05/0.6652, allocations: 14.58 kB / 0.909 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.6652, allocations: 10.72 kB / 0.909 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-06/0.6652, allocations: 0 / 0.909 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.6652, allocations: 39.09 kB / 0.9091 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.6653, allocations: 0 / 0.9091 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001224/0.6654, allocations: 32.27 kB / 0.9091 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.6654, allocations: 55.41 kB / 0.9092 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.6655, allocations: 114.3 kB / 0.9093 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.6655, allocations: 25.7 kB / 0.9093 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.6656, allocations: 95.83 kB / 0.9094 GB, free: 13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.6656, allocations: 9.734 kB / 0.9094 GB, free: 13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.6656, allocations: 0 / 0.9094 GB, free: 13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6657, allocations: 312.8 kB / 0.9097 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.6657, allocations: 3.281 kB / 0.9097 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.6658, allocations: 32.25 kB / 0.9097 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.6658, allocations: 31.03 kB / 0.9098 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6658, allocations: 0 / 0.9098 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.137e-05/0.6659, allocations: 50.16 kB / 0.9098 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6659, allocations: 11.09 kB / 0.9098 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6659, allocations: 0 / 0.9098 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.666, allocations: 1.594 kB / 0.9098 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.592e-05/0.666, allocations: 11.16 kB / 0.9098 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.666, allocations: 5.938 kB / 0.9098 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.6661, allocations: 5.766 kB / 0.9098 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.6661, allocations: 2 kB / 0.9098 GB, free: 12.58 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.975e-05/0.6662, allocations: 115.3 kB / 0.91 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.6662, allocations: 7.859 kB / 0.91 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.6662, allocations: 8.438 kB / 0.91 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.6662, allocations: 0 / 0.91 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6662, allocations: 3.938 kB / 0.91 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6662, allocations: 1.312 kB / 0.91 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.6665, allocations: 344.6 kB / 0.9103 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6665, allocations: 0 / 0.9103 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.6665, allocations: 5.531 kB / 0.9103 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.6665, allocations: 3.938 kB / 0.9103 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.6665, allocations: 4.031 kB / 0.9103 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.6665, allocations: 0 / 0.9103 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6665, allocations: 0 / 0.9103 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.629e-05/0.6666, allocations: 62.28 kB / 0.9104 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.6667, allocations: 84.52 kB / 0.9105 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.6667, allocations: 5.906 kB / 0.9105 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.6668, allocations: 6.578 kB / 0.9105 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.6668, allocations: 4.031 kB / 0.9105 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.6668, allocations: 0 / 0.9105 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.6668, allocations: 91.44 kB / 0.9106 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6668, allocations: 0 / 0.9106 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001741/0.667, allocations: 6.938 kB / 0.9106 GB, free: 11.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 (1): * Single equations (assignments): 1 * 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.0001061/0.6671, allocations: 103.9 kB / 0.9107 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.6672, allocations: 16.41 kB / 0.9107 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6672, allocations: 4.188 kB / 0.9107 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.631e-06/0.6672, allocations: 3.438 kB / 0.9107 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.6674, allocations: 9.625 kB / 0.9107 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.6676, allocations: 121.9 kB / 0.9108 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.6679, allocations: 0.6757 MB / 0.9115 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.41e-05/0.6679, allocations: 10.53 kB / 0.9115 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.668, allocations: 8.812 kB / 0.9115 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.668, allocations: 0 / 0.9115 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.002057/0.67, allocations: 484.8 kB / 0.912 GB, free: 10.85 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)