Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.66/2.66, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 182.8 kB / 325.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.528/2.528, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009352/0.0009351, allocations: 90.36 kB / 0.6812 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000742/0.0007423, allocations: 12.03 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.238, allocations: 106.3 MB / 0.899 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1964/0.4345, allocations: 134.1 MB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001692/0.4347, allocations: 51.84 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.4348, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.4349, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.435, allocations: 15.91 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.4354, allocations: 75.75 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.4356, allocations: 39.84 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.4356, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.4357, allocations: 11.98 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.4358, allocations: 23.91 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.4358, allocations: 4 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.4361, allocations: 39.84 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.4361, allocations: 11.98 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.4362, allocations: 33.69 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.4363, allocations: 27.98 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4363, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4363, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.4363, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 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.0004236/0.4368, allocations: 331.7 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4368, allocations: 16.03 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.4371, allocations: 20.91 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4372, allocations: 164.3 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.4373, allocations: 29.64 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.4374, allocations: 4 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.4376, allocations: 49.66 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.4376, allocations: 7.938 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4376, allocations: 4 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.4376, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.4377, allocations: 19.98 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.4382, allocations: 268.8 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.532e-05/0.4382, allocations: 18.52 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.4383, allocations: 12.8 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.4383, allocations: 4.062 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.4383, allocations: 34.56 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.492e-06/0.4383, allocations: 0 / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.4385, allocations: 29.7 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.4386, allocations: 59.28 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.4387, allocations: 105.8 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4387, allocations: 29.83 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.4388, allocations: 91.98 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.4388, allocations: 11.89 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.4388, allocations: 0 / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4389, allocations: 310.8 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.439, allocations: 4 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.439, allocations: 22.58 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.4391, allocations: 15.98 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4391, allocations: 0 / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.4392, allocations: 53.62 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4392, allocations: 4 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4393, allocations: 0 / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4393, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.4394, allocations: 4 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.4394, allocations: 7.875 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.4395, allocations: 12.09 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.4395, allocations: 0 / 1.032 GB, free: 8.609 MB / 0.6823 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.029e-05/0.4396, allocations: 109.8 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.4396, allocations: 0 / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.4397, allocations: 7.109 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4397, allocations: 0 / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4397, allocations: 7.938 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4397, allocations: 0 / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.44, allocations: 350.7 kB / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.44, allocations: 0 / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.4401, allocations: 3.938 kB / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4401, allocations: 3.938 kB / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.4401, allocations: 0 / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4401, allocations: 7.938 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4401, allocations: 7.922 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.205e-05/0.4402, allocations: 53.17 kB / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.4403, allocations: 85.05 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4403, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.4405, allocations: 11.98 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.4405, allocations: 0 / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.4405, allocations: 256 / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.726e-05/0.4406, allocations: 83.28 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4406, allocations: 0 / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002458/0.4408, allocations: 8 kB / 1.033 GB, free: 7.777 MB / 0.6823 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 (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.4409, allocations: 103.3 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.282e-05/0.441, allocations: 15.94 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4411, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.4411, allocations: 4 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.4413, allocations: 1.125 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.4416, allocations: 128.8 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.4419, allocations: 0.677 MB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.451e-05/0.442, allocations: 12.06 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.442, allocations: 11.44 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of SimCode: time 6.12e-07/0.442, allocations: 0 / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.002964/0.445, allocations: 425 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)