Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.001325/0.001325, allocations: 193.7 kB / 329.5 MB, free: 1.176 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.595/2.595, allocations: 225.6 MB / 0.6001 GB, free: 2.289 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.0009904/0.0009903, allocations: 102.2 kB / 0.7074 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004742, allocations: 14.94 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2029, allocations: 109.1 MB / 0.9307 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.9265/1.129, allocations: 134.5 MB / 1.062 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0001402/1.13, allocations: 46.98 kB / 1.062 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/1.13, allocations: 0 / 1.062 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/1.13, allocations: 1.922 kB / 1.062 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/1.13, allocations: 15.53 kB / 1.062 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/1.131, allocations: 140.9 kB / 1.062 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/1.131, allocations: 42.56 kB / 1.062 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/1.131, allocations: 3.766 kB / 1.062 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/1.131, allocations: 10.83 kB / 1.062 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/1.131, allocations: 19.03 kB / 1.062 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/1.131, allocations: 1.375 kB / 1.062 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/1.131, allocations: 103.3 kB / 1.062 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/1.131, allocations: 11.22 kB / 1.062 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/1.131, allocations: 32.39 kB / 1.062 GB, free: 17.64 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/1.132, allocations: 47.34 kB / 1.063 GB, free: 17.64 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.132, allocations: 1.828 kB / 1.063 GB, free: 17.64 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.914e-06/1.132, allocations: 0 / 1.063 GB, free: 17.64 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.148e-06/1.132, allocations: 1.375 kB / 1.063 GB, free: 17.64 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.0004296/1.132, allocations: 333.6 kB / 1.063 GB, free: 17.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.132, allocations: 9.625 kB / 1.063 GB, free: 17.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/1.133, allocations: 30.75 kB / 1.063 GB, free: 17.29 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1.133, allocations: 162 kB / 1.063 GB, free: 17.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/1.133, allocations: 35.12 kB / 1.063 GB, free: 17.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/1.133, allocations: 2.125 kB / 1.063 GB, free: 17.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/1.133, allocations: 48.48 kB / 1.063 GB, free: 17.02 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.133, allocations: 1.375 kB / 1.063 GB, free: 17.02 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.133, allocations: 0 / 1.063 GB, free: 17.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/1.133, allocations: 5.359 kB / 1.063 GB, free: 17.02 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/1.133, allocations: 28.03 kB / 1.063 GB, free: 17.01 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/1.134, allocations: 265.4 kB / 1.063 GB, free: 16.74 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/1.134, allocations: 20.73 kB / 1.063 GB, free: 16.71 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/1.134, allocations: 14.25 kB / 1.063 GB, free: 16.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/1.134, allocations: 95.39 kB / 1.064 GB, free: 16.61 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/1.134, allocations: 32.69 kB / 1.064 GB, free: 16.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 2.425e-06/1.134, allocations: 0 / 1.064 GB, free: 16.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0003034/1.134, allocations: 54 kB / 1.064 GB, free: 16.53 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/1.134, allocations: 52.78 kB / 1.064 GB, free: 16.47 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/1.134, allocations: 105.2 kB / 1.064 GB, free: 16.37 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/1.134, allocations: 25.83 kB / 1.064 GB, free: 16.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/1.135, allocations: 94.58 kB / 1.064 GB, free: 16.24 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/1.135, allocations: 9.234 kB / 1.064 GB, free: 16.24 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/1.135, allocations: 0 / 1.064 GB, free: 16.24 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.135, allocations: 312.9 kB / 1.064 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/1.135, allocations: 7.312 kB / 1.064 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/1.135, allocations: 21.81 kB / 1.064 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/1.135, allocations: 17.27 kB / 1.064 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.135, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001198/1.135, allocations: 51.89 kB / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.135, allocations: 5 kB / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.135, allocations: 0.9375 kB / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.135, allocations: 1.156 kB / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/1.135, allocations: 8.578 kB / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.135, allocations: 1.938 kB / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/1.135, allocations: 9.969 kB / 1.064 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.135, allocations: 2.453 kB / 1.064 GB, free: 15.85 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 9.005e-05/1.135, allocations: 112.5 kB / 1.064 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/1.135, allocations: 1.969 kB / 1.064 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/1.135, allocations: 8.234 kB / 1.064 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.135, allocations: 0.75 kB / 1.064 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.135, allocations: 1.25 kB / 1.064 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.135, allocations: 3.938 kB / 1.064 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/1.136, allocations: 368.1 kB / 1.065 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.136, allocations: 0 / 1.065 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/1.136, allocations: 4.172 kB / 1.065 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.136, allocations: 5.031 kB / 1.065 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/1.136, allocations: 0.6562 kB / 1.065 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.136, allocations: 1.312 kB / 1.065 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.136, allocations: 5.312 kB / 1.065 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.667e-05/1.136, allocations: 74.81 kB / 1.065 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/1.136, allocations: 78.62 kB / 1.065 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/1.136, allocations: 8.812 kB / 1.065 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.136, allocations: 10.28 kB / 1.065 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/1.136, allocations: 1.562 kB / 1.065 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.136, allocations: 0.5625 kB / 1.065 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.521e-05/1.136, allocations: 89.45 kB / 1.065 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.21e-07/1.136, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002426/1.137, allocations: 6 kB / 1.065 GB, free: 15.07 MB / 0.6667 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.0001502/1.137, allocations: 103.8 kB / 1.065 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.943e-05/1.137, allocations: 18.41 kB / 1.065 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.137, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/1.137, allocations: 12.38 kB / 1.065 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/1.137, allocations: 7.953 kB / 1.065 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/1.137, allocations: 133.9 kB / 1.065 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.138, allocations: 0.6808 MB / 1.066 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 9.127e-05/1.138, allocations: 9.219 kB / 1.066 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/1.138, allocations: 8.406 kB / 1.066 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of SimCode: time 6.21e-07/1.138, allocations: 1 kB / 1.066 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of Templates: time 0.003253/1.141, allocations: 0.489 MB / 1.066 GB, free: 14.08 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)