Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.81/1.81, allocations: 291.7 MB / 306.8 MB, free: 7.676 MB / 234.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.0009349/0.000935, allocations: 177.5 kB / 375.4 MB, free: 5.094 MB / 298.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.37/1.37, allocations: 225.7 MB / 0.6538 GB, free: 13.63 MB / 490.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.0008482/0.0008483, allocations: 103.2 kB / 0.7699 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 15.98 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.635, allocations: 118.1 MB / 1.011 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.135/0.77, allocations: 134.5 MB / 1.142 GB, free: 460 kB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.7702, allocations: 51.27 kB / 1.142 GB, free: 432 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.7702, allocations: 3.938 kB / 1.142 GB, free: 428 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.759e-05/0.7703, allocations: 2.156 kB / 1.142 GB, free: 428 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.7704, allocations: 14.72 kB / 1.142 GB, free: 420 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.771, allocations: 135.8 kB / 1.142 GB, free: 348 kB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.7711, allocations: 49.23 kB / 1.142 GB, free: 328 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.7711, allocations: 6.562 kB / 1.142 GB, free: 328 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.7711, allocations: 14.3 kB / 1.142 GB, free: 320 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.7712, allocations: 16.77 kB / 1.142 GB, free: 316 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.7712, allocations: 0 / 1.142 GB, free: 316 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.7715, allocations: 96.16 kB / 1.143 GB, free: 284 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.7716, allocations: 10.66 kB / 1.143 GB, free: 280 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.7716, allocations: 28.95 kB / 1.143 GB, free: 248 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.7717, allocations: 51.98 kB / 1.143 GB, free: 236 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7717, allocations: 4 kB / 1.143 GB, free: 232 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7717, allocations: 0 / 1.143 GB, free: 232 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.7718, allocations: 0 / 1.143 GB, free: 232 kB / 0.7448 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.0003847/0.7721, allocations: 340 kB / 1.143 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.7722, allocations: 8.719 kB / 1.143 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.7725, allocations: 26.44 kB / 1.143 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.7726, allocations: 163.4 kB / 1.143 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.7726, allocations: 41.16 kB / 1.143 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.7727, allocations: 0 / 1.143 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.7728, allocations: 47.41 kB / 1.143 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7728, allocations: 5.156 kB / 1.143 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.7728, allocations: 9.438 kB / 1.143 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.7728, allocations: 0 / 1.143 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.7729, allocations: 20 kB / 1.143 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.7732, allocations: 265.3 kB / 1.144 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.7733, allocations: 21.39 kB / 1.144 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.7733, allocations: 7.766 kB / 1.144 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.7734, allocations: 96.45 kB / 1.144 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.7735, allocations: 38.03 kB / 1.144 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7735, allocations: 4 kB / 1.144 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2): time 0.000211/0.7737, allocations: 45.83 kB / 1.144 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.7737, allocations: 54.38 kB / 1.144 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.7738, allocations: 107.7 kB / 1.144 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.7738, allocations: 25.7 kB / 1.144 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.7739, allocations: 91.92 kB / 1.144 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.7739, allocations: 6.75 kB / 1.144 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.7739, allocations: 0 / 1.144 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.774, allocations: 319 kB / 1.144 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.774, allocations: 6.797 kB / 1.144 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.7741, allocations: 26.77 kB / 1.144 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.009e-05/0.7741, allocations: 24.28 kB / 1.144 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7741, allocations: 10.97 kB / 1.144 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.615e-05/0.7742, allocations: 53.39 kB / 1.144 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.7742, allocations: 7.312 kB / 1.144 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7742, allocations: 2.875 kB / 1.144 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.7742, allocations: 0 / 1.144 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.7743, allocations: 6.062 kB / 1.144 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7743, allocations: 3.938 kB / 1.144 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.7743, allocations: 6.938 kB / 1.144 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.7744, allocations: 1.5 kB / 1.144 GB, free: 14.36 MB / 0.7605 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 6.461e-05/0.7744, allocations: 112.9 kB / 1.145 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.7745, allocations: 3.219 kB / 1.145 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.7745, allocations: 14.55 kB / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7745, allocations: 0 / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.7745, allocations: 3.938 kB / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.7745, allocations: 0 / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.7748, allocations: 369.5 kB / 1.145 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7748, allocations: 3.344 kB / 1.145 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.7748, allocations: 3.344 kB / 1.145 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.7748, allocations: 3.938 kB / 1.145 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.7748, allocations: 3.938 kB / 1.145 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7748, allocations: 0 / 1.145 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7749, allocations: 3.25 kB / 1.145 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.851e-05/0.7749, allocations: 75.7 kB / 1.145 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.775, allocations: 84.95 kB / 1.145 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.775, allocations: 0.9375 kB / 1.145 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.7751, allocations: 6.609 kB / 1.145 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.7751, allocations: 3.062 kB / 1.145 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.7751, allocations: 0 / 1.145 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.7751, allocations: 83.08 kB / 1.145 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7751, allocations: 0 / 1.145 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001761/0.7753, allocations: 12.3 kB / 1.145 GB, free: 13.55 MB / 0.7605 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 (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.0001142/0.7754, allocations: 105.1 kB / 1.145 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 6.862e-05/0.7755, allocations: 17.66 kB / 1.145 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7755, allocations: 0 / 1.145 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-06/0.7755, allocations: 4.125 kB / 1.145 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.7757, allocations: 11 kB / 1.145 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.776, allocations: 136.7 kB / 1.145 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.7762, allocations: 0.6799 MB / 1.146 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.165e-05/0.7763, allocations: 10.34 kB / 1.146 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.7763, allocations: 10.47 kB / 1.146 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/0.7763, allocations: 0.9375 kB / 1.146 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.00215/0.7785, allocations: 0.4953 MB / 1.147 GB, free: 12.58 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)