Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.686/1.686, allocations: 306.1 MB / 321.3 MB, free: 10.71 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.001079/0.001079, allocations: 179.5 kB / 393.1 MB, free: 4.086 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.408/1.408, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0009834/0.0009834, allocations: 98.23 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 11.59 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6637/0.664, allocations: 121.3 MB / 1.041 GB, free: 58.26 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1534/0.8174, allocations: 135.6 MB / 1.173 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.8177, allocations: 47.33 kB / 1.173 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.8177, allocations: 0 / 1.173 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.8179, allocations: 11.22 kB / 1.173 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.818, allocations: 11.47 kB / 1.173 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.8185, allocations: 100.4 kB / 1.173 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.8186, allocations: 61.75 kB / 1.173 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.8187, allocations: 0 / 1.173 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.8187, allocations: 19.34 kB / 1.174 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.8188, allocations: 12 kB / 1.174 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.8188, allocations: 8 kB / 1.174 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.8191, allocations: 77.23 kB / 1.174 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.8192, allocations: 11.41 kB / 1.174 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.8192, allocations: 37.64 kB / 1.174 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.8194, allocations: 74.64 kB / 1.174 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8194, allocations: 4 kB / 1.174 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8194, allocations: 0 / 1.174 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8194, allocations: 0 / 1.174 GB, free: 8.609 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.0004015/0.8198, allocations: 326.9 kB / 1.174 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.8199, allocations: 12.03 kB / 1.174 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.8201, allocations: 20.27 kB / 1.174 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.8202, allocations: 168 kB / 1.174 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.8203, allocations: 29.64 kB / 1.174 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.8203, allocations: 0 / 1.174 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.8205, allocations: 48.59 kB / 1.174 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.8205, allocations: 0 / 1.174 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.8205, allocations: 11.97 kB / 1.174 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.8205, allocations: 7.938 kB / 1.174 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.8206, allocations: 19.42 kB / 1.174 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.821, allocations: 262.5 kB / 1.175 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.52e-05/0.821, allocations: 18.58 kB / 1.175 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.821, allocations: 12.8 kB / 1.175 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.8211, allocations: 0 / 1.175 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.8211, allocations: 38.56 kB / 1.175 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.8211, allocations: 0 / 1.175 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001671/0.8213, allocations: 33.7 kB / 1.175 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.8213, allocations: 55.34 kB / 1.175 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.8214, allocations: 105.2 kB / 1.175 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.8214, allocations: 25.83 kB / 1.175 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.8215, allocations: 99.55 kB / 1.175 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.8215, allocations: 3.906 kB / 1.175 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.8215, allocations: 3.938 kB / 1.175 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8216, allocations: 314.8 kB / 1.175 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.8216, allocations: 4 kB / 1.175 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.8217, allocations: 22 kB / 1.175 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.126e-05/0.8217, allocations: 34.52 kB / 1.175 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8217, allocations: 0 / 1.175 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.548e-05/0.8218, allocations: 53.16 kB / 1.175 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8218, allocations: 8 kB / 1.175 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.8218, allocations: 0 / 1.175 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8219, allocations: 3.469 kB / 1.175 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.8219, allocations: 12 kB / 1.175 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.822, allocations: 11.97 kB / 1.175 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.822, allocations: 0 / 1.175 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.822, allocations: 4 kB / 1.175 GB, free: 6.688 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 7.461e-05/0.8221, allocations: 107.4 kB / 1.176 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.8221, allocations: 4.25 kB / 1.176 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.8221, allocations: 6.5 kB / 1.176 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.8221, allocations: 0 / 1.176 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8222, allocations: 7.938 kB / 1.176 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8222, allocations: 0 / 1.176 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.8224, allocations: 350.2 kB / 1.176 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8224, allocations: 0 / 1.176 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.8224, allocations: 11.45 kB / 1.176 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.8225, allocations: 3.938 kB / 1.176 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.8225, allocations: 0 / 1.176 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8225, allocations: 0 / 1.176 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8225, allocations: 0 / 1.176 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.045e-05/0.8225, allocations: 57.17 kB / 1.176 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.8226, allocations: 88.38 kB / 1.176 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.8226, allocations: 0 / 1.176 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.8227, allocations: 4 kB / 1.176 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.8227, allocations: 0 / 1.176 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-06/0.8227, allocations: 3.938 kB / 1.176 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.8228, allocations: 86.61 kB / 1.176 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8228, allocations: 0 / 1.176 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000179/0.823, allocations: 8.031 kB / 1.176 GB, free: 5.879 MB / 0.7448 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.0001018/0.8231, allocations: 111.2 kB / 1.176 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.922e-05/0.8231, allocations: 15.36 kB / 1.176 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8232, allocations: 0 / 1.176 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.231e-06/0.8232, allocations: 4 kB / 1.176 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.8234, allocations: 8 kB / 1.176 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.8236, allocations: 131.5 kB / 1.176 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.8239, allocations: 0.6763 MB / 1.177 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.182e-05/0.8239, allocations: 8.078 kB / 1.177 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.824, allocations: 7.438 kB / 1.177 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.824, allocations: 0 / 1.177 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.002207/0.8262, allocations: 498.8 kB / 1.178 GB, free: 4.586 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)