Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.865/1.865, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001013/0.001014, allocations: 183.5 kB / 393.1 MB, free: 4.062 MB / 314.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.557/1.557, allocations: 225.7 MB / 0.6743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008595/0.0008595, allocations: 95.58 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003801, allocations: 8 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7401, allocations: 121.3 MB / 1.041 GB, free: 58.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1475/0.8877, allocations: 136.2 MB / 1.174 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.8879, allocations: 50.61 kB / 1.174 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.8879, allocations: 0 / 1.174 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.8881, allocations: 5.188 kB / 1.174 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.8882, allocations: 17.06 kB / 1.174 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.8889, allocations: 204.4 kB / 1.174 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.889, allocations: 57.55 kB / 1.174 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.8891, allocations: 4 kB / 1.174 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.8891, allocations: 12 kB / 1.174 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.8892, allocations: 19.25 kB / 1.174 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.8892, allocations: 0 / 1.174 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.8896, allocations: 220.2 kB / 1.174 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.8897, allocations: 11.5 kB / 1.174 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.8898, allocations: 41.17 kB / 1.174 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.89, allocations: 124.9 kB / 1.175 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.89, allocations: 3.938 kB / 1.175 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.89, allocations: 0 / 1.175 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.89, allocations: 0 / 1.175 GB, free: 8.078 MB / 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.000406/0.8905, allocations: 338.9 kB / 1.175 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8905, allocations: 11.45 kB / 1.175 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.8908, allocations: 23.88 kB / 1.175 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.8909, allocations: 164.4 kB / 1.175 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.891, allocations: 29.64 kB / 1.175 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.891, allocations: 8 kB / 1.175 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.8912, allocations: 48.58 kB / 1.175 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8912, allocations: 3.938 kB / 1.175 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.8912, allocations: 4 kB / 1.175 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.8912, allocations: 4 kB / 1.175 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.8913, allocations: 26.55 kB / 1.175 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.8916, allocations: 263.2 kB / 1.175 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.8917, allocations: 18.58 kB / 1.175 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.8917, allocations: 12.86 kB / 1.175 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.8919, allocations: 92.67 kB / 1.176 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.8919, allocations: 38.03 kB / 1.176 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8919, allocations: 0 / 1.176 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002267/0.8922, allocations: 56.92 kB / 1.176 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.8922, allocations: 51.41 kB / 1.176 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.8923, allocations: 109.3 kB / 1.176 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.8923, allocations: 25.7 kB / 1.176 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.8924, allocations: 88.11 kB / 1.176 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.8924, allocations: 7.906 kB / 1.176 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.8924, allocations: 4 kB / 1.176 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8925, allocations: 314.8 kB / 1.176 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.8925, allocations: 7.281 kB / 1.176 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.8926, allocations: 18.58 kB / 1.176 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.198e-05/0.8926, allocations: 38.03 kB / 1.176 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8926, allocations: 0 / 1.176 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.993e-05/0.8927, allocations: 57.02 kB / 1.176 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8927, allocations: 7.906 kB / 1.176 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.8928, allocations: 0 / 1.176 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.8928, allocations: 4 kB / 1.176 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.8928, allocations: 8 kB / 1.176 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.8929, allocations: 3.938 kB / 1.176 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.8929, allocations: 8.094 kB / 1.176 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.8929, allocations: 0 / 1.176 GB, free: 6.023 MB / 0.7448 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 8.779e-05/0.893, allocations: 115.5 kB / 1.176 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.893, allocations: 3.422 kB / 1.176 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.893, allocations: 7.125 kB / 1.176 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.893, allocations: 4 kB / 1.176 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.8931, allocations: 3.938 kB / 1.176 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.8931, allocations: 3.938 kB / 1.176 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.8934, allocations: 366.4 kB / 1.177 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8934, allocations: 0 / 1.177 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.8934, allocations: 4 kB / 1.177 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.8934, allocations: 3.938 kB / 1.177 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.8934, allocations: 4 kB / 1.177 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8934, allocations: 0 / 1.177 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8934, allocations: 0 / 1.177 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.939e-05/0.8935, allocations: 69.3 kB / 1.177 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.8936, allocations: 85.05 kB / 1.177 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.8936, allocations: 3.516 kB / 1.177 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.8937, allocations: 4 kB / 1.177 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.8937, allocations: 4.219 kB / 1.177 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.8937, allocations: 7.938 kB / 1.177 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.8938, allocations: 90.48 kB / 1.177 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8938, allocations: 4 kB / 1.177 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001758/0.894, allocations: 4 kB / 1.177 GB, free: 5.164 MB / 0.7448 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 0.0001474/0.8941, allocations: 103.9 kB / 1.177 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.573e-05/0.8942, allocations: 23.27 kB / 1.177 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8942, allocations: 0 / 1.177 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.8942, allocations: 8.25 kB / 1.177 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.8944, allocations: 7.938 kB / 1.177 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.8947, allocations: 134 kB / 1.177 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.8949, allocations: 0.6783 MB / 1.178 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.035e-05/0.895, allocations: 8.062 kB / 1.178 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.895, allocations: 15.38 kB / 1.178 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/0.895, allocations: 3.938 kB / 1.178 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of Templates: time 0.002698/0.8978, allocations: 0.5421 MB / 1.179 GB, free: 3.816 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)