Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.001004/0.001004, allocations: 182.8 kB / 330.8 MB, free: 464 kB / 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 1.607/1.607, allocations: 225.7 MB / 0.6016 GB, free: 15.89 MB / 442.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.0007417/0.0007418, allocations: 99.5 kB / 0.709 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 9.219 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5434/0.7374, allocations: 135.6 MB / 1.065 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.7376, allocations: 42.38 kB / 1.065 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.7376, allocations: 0 / 1.065 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.7377, allocations: 4.516 kB / 1.065 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.7378, allocations: 13.14 kB / 1.065 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.7382, allocations: 88.42 kB / 1.065 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.7383, allocations: 61.23 kB / 1.065 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.7384, allocations: 1.531 kB / 1.065 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.7384, allocations: 14.67 kB / 1.065 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.7385, allocations: 12.67 kB / 1.065 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.7385, allocations: 3.766 kB / 1.065 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.7387, allocations: 78.17 kB / 1.065 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.7388, allocations: 7.875 kB / 1.065 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.7388, allocations: 40.25 kB / 1.066 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.739, allocations: 70.58 kB / 1.066 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.739, allocations: 1.344 kB / 1.066 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.443e-06/0.739, allocations: 4 kB / 1.066 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.739, allocations: 0 / 1.066 GB, free: 1.832 MB / 0.6511 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.0004126/0.7395, allocations: 328.1 kB / 1.066 GB, free: 17.48 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.7395, allocations: 13.3 kB / 1.066 GB, free: 17.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.7397, allocations: 21 kB / 1.066 GB, free: 17.47 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.7398, allocations: 165.7 kB / 1.066 GB, free: 17.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.7399, allocations: 40.16 kB / 1.066 GB, free: 17.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.7399, allocations: 1.375 kB / 1.066 GB, free: 17.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.7401, allocations: 51.88 kB / 1.066 GB, free: 17.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.7401, allocations: 0 / 1.066 GB, free: 17.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.7401, allocations: 0 / 1.066 GB, free: 17.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.7401, allocations: 3.484 kB / 1.066 GB, free: 17.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.472e-05/0.7402, allocations: 17.69 kB / 1.066 GB, free: 17.2 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.7405, allocations: 257.6 kB / 1.066 GB, free: 16.93 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.082e-05/0.7406, allocations: 24.27 kB / 1.066 GB, free: 16.91 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.7406, allocations: 6.375 kB / 1.066 GB, free: 16.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-06/0.7406, allocations: 0 / 1.066 GB, free: 16.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.7407, allocations: 32.16 kB / 1.066 GB, free: 16.86 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.7407, allocations: 0 / 1.066 GB, free: 16.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.000126/0.7408, allocations: 36.05 kB / 1.067 GB, free: 16.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.7408, allocations: 60.34 kB / 1.067 GB, free: 16.76 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.7409, allocations: 106.8 kB / 1.067 GB, free: 16.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.7409, allocations: 26.36 kB / 1.067 GB, free: 16.62 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.741, allocations: 98.19 kB / 1.067 GB, free: 16.53 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.741, allocations: 2.562 kB / 1.067 GB, free: 16.53 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.741, allocations: 3.812 kB / 1.067 GB, free: 16.53 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.7411, allocations: 312.8 kB / 1.067 GB, free: 16.22 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.7411, allocations: 3.547 kB / 1.067 GB, free: 16.22 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.7412, allocations: 30.23 kB / 1.067 GB, free: 16.19 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.7412, allocations: 29.44 kB / 1.067 GB, free: 16.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7412, allocations: 1.531 kB / 1.067 GB, free: 16.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.892e-05/0.7413, allocations: 51.83 kB / 1.067 GB, free: 16.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7413, allocations: 12.5 kB / 1.067 GB, free: 16.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7413, allocations: 2.031 kB / 1.067 GB, free: 16.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7414, allocations: 1.344 kB / 1.067 GB, free: 16.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.7414, allocations: 5.938 kB / 1.067 GB, free: 16.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7414, allocations: 5.766 kB / 1.067 GB, free: 16.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.7415, allocations: 5.094 kB / 1.067 GB, free: 16.11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.7415, allocations: 6.609 kB / 1.067 GB, free: 16.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.7416, allocations: 116.7 kB / 1.067 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.7416, allocations: 6.203 kB / 1.067 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.7416, allocations: 5.688 kB / 1.067 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7416, allocations: 5.188 kB / 1.067 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7416, allocations: 4.641 kB / 1.067 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7416, allocations: 0 / 1.067 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.7419, allocations: 346.7 kB / 1.068 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.7419, allocations: 0 / 1.068 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.7419, allocations: 2.188 kB / 1.068 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7419, allocations: 5.438 kB / 1.068 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.742, allocations: 4.031 kB / 1.068 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.742, allocations: 0.75 kB / 1.068 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.742, allocations: 1.562 kB / 1.068 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.784e-05/0.742, allocations: 58.64 kB / 1.068 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.7421, allocations: 86.58 kB / 1.068 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.7421, allocations: 5.844 kB / 1.068 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.7422, allocations: 8.234 kB / 1.068 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.7422, allocations: 2.031 kB / 1.068 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.7422, allocations: 0 / 1.068 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.7423, allocations: 84.61 kB / 1.068 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7423, allocations: 0 / 1.068 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001863/0.7425, allocations: 8.781 kB / 1.068 GB, free: 15.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.14e-05/0.7426, allocations: 103.2 kB / 1.068 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 6.542e-05/0.7426, allocations: 11.34 kB / 1.068 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.7426, allocations: 4.062 kB / 1.068 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.7426, allocations: 6.688 kB / 1.068 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.7429, allocations: 7.078 kB / 1.068 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.7431, allocations: 125.8 kB / 1.068 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.7434, allocations: 0.6746 MB / 1.069 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 5.648e-05/0.7434, allocations: 10.11 kB / 1.069 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.7434, allocations: 8.812 kB / 1.069 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of SimCode: time 3.1e-07/0.7434, allocations: 0 / 1.069 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.002297/0.7457, allocations: 438.7 kB / 1.069 GB, free: 14.38 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)