Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 308.1 MB, free: 4.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 182.4 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 103.4 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 55.92 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2831, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6823/0.9654, allocations: 145.6 MB / 1.124 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.9656, allocations: 60.62 kB / 1.124 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.9656, allocations: 0 / 1.124 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.9658, allocations: 7.344 kB / 1.124 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.9659, allocations: 11.44 kB / 1.124 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.9663, allocations: 88.95 kB / 1.125 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.9664, allocations: 55.58 kB / 1.125 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.9664, allocations: 3.5 kB / 1.125 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.9665, allocations: 18.45 kB / 1.125 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.9665, allocations: 10.84 kB / 1.125 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.9665, allocations: 3.219 kB / 1.125 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.9668, allocations: 81.17 kB / 1.125 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.9668, allocations: 7.453 kB / 1.125 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.9669, allocations: 11.44 kB / 1.125 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.967, allocations: 72.73 kB / 1.125 GB, free: 12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9671, allocations: 0 / 1.125 GB, free: 12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9671, allocations: 0 / 1.125 GB, free: 12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.9671, allocations: 0 / 1.125 GB, free: 12 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.0005026/0.9676, allocations: 342.7 kB / 1.125 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9676, allocations: 9.406 kB / 1.125 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.9679, allocations: 23.78 kB / 1.125 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.9679, allocations: 160.6 kB / 1.125 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.968, allocations: 36.86 kB / 1.125 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.968, allocations: 0 / 1.125 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.9682, allocations: 51.47 kB / 1.125 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.9682, allocations: 4 kB / 1.125 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.9682, allocations: 4 kB / 1.125 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.9682, allocations: 3.219 kB / 1.125 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.9683, allocations: 16.19 kB / 1.125 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.9686, allocations: 251.2 kB / 1.126 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.657e-05/0.9687, allocations: 25.83 kB / 1.126 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.9687, allocations: 16.06 kB / 1.126 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.9687, allocations: 0 / 1.126 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.9688, allocations: 33.59 kB / 1.126 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.9688, allocations: 3.938 kB / 1.126 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.9689, allocations: 32.58 kB / 1.126 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.9689, allocations: 51.41 kB / 1.126 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/0.969, allocations: 107.4 kB / 1.126 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.969, allocations: 33.7 kB / 1.126 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.9691, allocations: 98.56 kB / 1.126 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.9691, allocations: 0 / 1.126 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.9691, allocations: 17.12 kB / 1.126 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.9692, allocations: 314.7 kB / 1.126 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.9692, allocations: 7.469 kB / 1.126 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.9692, allocations: 25.14 kB / 1.126 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.9693, allocations: 31.58 kB / 1.126 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9693, allocations: 0 / 1.126 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.751e-05/0.9694, allocations: 56.8 kB / 1.126 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.9694, allocations: 6.406 kB / 1.126 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9694, allocations: 0 / 1.126 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9694, allocations: 15.14 kB / 1.126 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.9695, allocations: 3.219 kB / 1.126 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.9695, allocations: 7.094 kB / 1.126 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.9695, allocations: 0 / 1.126 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.9695, allocations: 3.219 kB / 1.127 GB, free: 10.22 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 5.552e-05/0.9696, allocations: 112.8 kB / 1.127 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.9696, allocations: 1.125 kB / 1.127 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.9697, allocations: 10.5 kB / 1.127 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.9697, allocations: 3.156 kB / 1.127 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.9697, allocations: 7.938 kB / 1.127 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.9697, allocations: 0 / 1.127 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.9699, allocations: 341.4 kB / 1.127 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9699, allocations: 1.219 kB / 1.127 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.9699, allocations: 6.516 kB / 1.127 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9699, allocations: 3.938 kB / 1.127 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.9699, allocations: 0.9375 kB / 1.127 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9699, allocations: 0 / 1.127 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9699, allocations: 3.219 kB / 1.127 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.9701, allocations: 0.6055 MB / 1.128 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.9701, allocations: 84.2 kB / 1.128 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.9702, allocations: 4 kB / 1.128 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.9702, allocations: 7.281 kB / 1.128 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.9703, allocations: 4.031 kB / 1.128 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.9703, allocations: 0 / 1.128 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.135e-05/0.9703, allocations: 85.69 kB / 1.128 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9703, allocations: 0.5625 kB / 1.128 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002894/0.9706, allocations: 6.375 kB / 1.128 GB, free: 8.875 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 9.233e-05/0.9707, allocations: 99.09 kB / 1.128 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.724e-05/0.9708, allocations: 17.31 kB / 1.128 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9708, allocations: 192 / 1.128 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.9708, allocations: 10.59 kB / 1.128 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.9711, allocations: 8.156 kB / 1.128 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.9714, allocations: 211 kB / 1.128 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.9715, allocations: 0.6795 MB / 1.129 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.343e-05/0.9716, allocations: 10.56 kB / 1.129 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.9716, allocations: 7.438 kB / 1.129 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.9716, allocations: 0 / 1.129 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of Templates: time 0.002273/0.9739, allocations: 472.6 kB / 1.129 GB, free: 7.793 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)