Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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) 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 Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 254.9 MB / 269.9 MB, free: 9.555 MB / 218.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.001392/0.001392, allocations: 188.8 kB / 329.5 MB, free: 1.129 MB / 250.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 2.622/2.622, allocations: 225.6 MB / 0.6001 GB, free: 2.215 MB / 426.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.001531/0.001531, allocations: 97.33 kB / 0.7074 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0008336/0.0008338, allocations: 11.34 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2215, allocations: 109.1 MB / 0.9308 GB, free: 25.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.8828/1.104, allocations: 134 MB / 1.062 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0001554/1.105, allocations: 47.03 kB / 1.062 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/1.105, allocations: 1.859 kB / 1.062 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/1.105, allocations: 2.719 kB / 1.062 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/1.105, allocations: 14.72 kB / 1.062 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/1.105, allocations: 71.28 kB / 1.062 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/1.105, allocations: 48.28 kB / 1.062 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/1.106, allocations: 4.625 kB / 1.062 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/1.106, allocations: 10.03 kB / 1.062 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/1.106, allocations: 19.08 kB / 1.062 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/1.106, allocations: 1.375 kB / 1.062 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/1.106, allocations: 43.41 kB / 1.062 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/1.106, allocations: 7.625 kB / 1.062 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/1.106, allocations: 34.58 kB / 1.062 GB, free: 17.6 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/1.106, allocations: 28.39 kB / 1.062 GB, free: 17.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.106, allocations: 0 / 1.062 GB, free: 17.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.146e-06/1.106, allocations: 0 / 1.062 GB, free: 17.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.072e-06/1.106, allocations: 3.344 kB / 1.062 GB, free: 17.6 MB / 0.6667 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.000413/1.107, allocations: 333.4 kB / 1.062 GB, free: 17.25 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.107, allocations: 8.25 kB / 1.062 GB, free: 17.25 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/1.107, allocations: 17.81 kB / 1.062 GB, free: 17.25 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/1.107, allocations: 171.3 kB / 1.062 GB, free: 17.04 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/1.107, allocations: 34.33 kB / 1.063 GB, free: 17.01 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/1.107, allocations: 1.375 kB / 1.063 GB, free: 17.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/1.108, allocations: 49.56 kB / 1.063 GB, free: 16.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.108, allocations: 0 / 1.063 GB, free: 16.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/1.108, allocations: 4.625 kB / 1.063 GB, free: 16.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/1.108, allocations: 2.125 kB / 1.063 GB, free: 16.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/1.108, allocations: 18.42 kB / 1.063 GB, free: 16.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/1.108, allocations: 265.5 kB / 1.063 GB, free: 16.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.378e-05/1.108, allocations: 20.8 kB / 1.063 GB, free: 16.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/1.108, allocations: 5.562 kB / 1.063 GB, free: 16.67 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/1.108, allocations: 3.234 kB / 1.063 GB, free: 16.67 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/1.108, allocations: 36.5 kB / 1.063 GB, free: 16.62 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/1.108, allocations: 0 / 1.063 GB, free: 16.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/1.109, allocations: 40.53 kB / 1.063 GB, free: 16.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.109, allocations: 53.59 kB / 1.063 GB, free: 16.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/1.109, allocations: 112 kB / 1.063 GB, free: 16.42 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/1.109, allocations: 26.31 kB / 1.063 GB, free: 16.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/1.109, allocations: 93.83 kB / 1.063 GB, free: 16.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.664e-06/1.109, allocations: 5.281 kB / 1.063 GB, free: 16.29 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.109, allocations: 128 / 1.063 GB, free: 16.29 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.109, allocations: 322.6 kB / 1.064 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/1.109, allocations: 2.75 kB / 1.064 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/1.109, allocations: 22.23 kB / 1.064 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/1.109, allocations: 7.562 kB / 1.064 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.109, allocations: 1.375 kB / 1.064 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/1.109, allocations: 54.62 kB / 1.064 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.109, allocations: 10.03 kB / 1.064 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.109, allocations: 1.375 kB / 1.064 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.109, allocations: 1.375 kB / 1.064 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/1.109, allocations: 9.438 kB / 1.064 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.109, allocations: 5.312 kB / 1.064 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/1.109, allocations: 4.688 kB / 1.064 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/1.109, allocations: 1.375 kB / 1.064 GB, free: 15.91 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.704e-05/1.11, allocations: 115.2 kB / 1.064 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/1.11, allocations: 5.281 kB / 1.064 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/1.11, allocations: 7.5 kB / 1.064 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.11, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.11, allocations: 4.812 kB / 1.064 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.11, allocations: 1.375 kB / 1.064 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/1.11, allocations: 342.5 kB / 1.064 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.11, allocations: 1.375 kB / 1.064 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/1.11, allocations: 1.375 kB / 1.064 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.11, allocations: 7.969 kB / 1.064 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.11, allocations: 4.922 kB / 1.064 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/1.11, allocations: 5.375 kB / 1.064 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.11, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.282e-05/1.11, allocations: 57.75 kB / 1.064 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/1.11, allocations: 81.06 kB / 1.064 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/1.11, allocations: 3.938 kB / 1.064 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/1.11, allocations: 8.156 kB / 1.064 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/1.11, allocations: 0 / 1.064 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/1.11, allocations: 4.047 kB / 1.064 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.495e-05/1.11, allocations: 83.03 kB / 1.064 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.31e-07/1.111, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002393/1.111, allocations: 6.875 kB / 1.064 GB, free: 15.15 MB / 0.6667 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 (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.0001152/1.111, allocations: 107.9 kB / 1.064 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.528e-05/1.111, allocations: 13.62 kB / 1.064 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.111, allocations: 3.938 kB / 1.064 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.939e-06/1.111, allocations: 5 kB / 1.064 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/1.111, allocations: 6.703 kB / 1.064 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/1.112, allocations: 123.4 kB / 1.065 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/1.112, allocations: 0.6763 MB / 1.065 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 8.279e-05/1.112, allocations: 9.672 kB / 1.065 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/1.112, allocations: 9.312 kB / 1.065 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of SimCode: time 8.71e-07/1.112, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of Templates: time 0.00306/1.115, allocations: 438 kB / 1.066 GB, free: 14.16 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)