Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 191.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 60.75 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3884, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1843/0.5727, allocations: 146.2 MB / 1.21 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.5729, allocations: 47.86 kB / 1.21 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.573, allocations: 7.938 kB / 1.21 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.5732, allocations: 0 / 1.21 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.5733, allocations: 15.92 kB / 1.211 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.5743, allocations: 206.7 kB / 1.211 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.5744, allocations: 35.86 kB / 1.211 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.5744, allocations: 4 kB / 1.211 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.5745, allocations: 23.91 kB / 1.211 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.5746, allocations: 4 kB / 1.211 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.5746, allocations: 4 kB / 1.211 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006028/0.5752, allocations: 207.4 kB / 1.211 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.5753, allocations: 3.984 kB / 1.211 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.5753, allocations: 19.92 kB / 1.211 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.5757, allocations: 119.9 kB / 1.211 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5757, allocations: 4 kB / 1.211 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5757, allocations: 0 / 1.211 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.5758, allocations: 4 kB / 1.211 GB, free: 7.332 MB / 0.9669 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.0005504/0.5763, allocations: 331.6 kB / 1.211 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.5764, allocations: 12.03 kB / 1.211 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.5768, allocations: 28.81 kB / 1.211 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.577, allocations: 176.2 kB / 1.212 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.5771, allocations: 33.62 kB / 1.212 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.5771, allocations: 0 / 1.212 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.5773, allocations: 49.69 kB / 1.212 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5774, allocations: 0 / 1.212 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.5774, allocations: 4 kB / 1.212 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.5774, allocations: 0 / 1.212 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.766e-05/0.5775, allocations: 19.98 kB / 1.212 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.578, allocations: 260.8 kB / 1.212 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.956e-05/0.5781, allocations: 26.58 kB / 1.212 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.5781, allocations: 12.91 kB / 1.212 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.5783, allocations: 89.11 kB / 1.212 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.5784, allocations: 34.55 kB / 1.212 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.5784, allocations: 3.938 kB / 1.212 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000331/0.5787, allocations: 53.72 kB / 1.212 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.5788, allocations: 55.41 kB / 1.212 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.5789, allocations: 101.8 kB / 1.212 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.579, allocations: 25.7 kB / 1.212 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.579, allocations: 96.02 kB / 1.212 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.5791, allocations: 7.906 kB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.5791, allocations: 13.72 kB / 1.212 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5793, allocations: 314.8 kB / 1.213 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.5794, allocations: 8.031 kB / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.5794, allocations: 26.5 kB / 1.213 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.5795, allocations: 30.52 kB / 1.213 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5795, allocations: 0 / 1.213 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.5796, allocations: 61.53 kB / 1.213 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5797, allocations: 8 kB / 1.213 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.5797, allocations: 4 kB / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5797, allocations: 0 / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.5798, allocations: 12 kB / 1.213 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5798, allocations: 7.922 kB / 1.213 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.5799, allocations: 3.938 kB / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.5799, allocations: 4 kB / 1.213 GB, free: 5.191 MB / 0.9669 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 0.0001135/0.58, allocations: 105.9 kB / 1.213 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.5801, allocations: 8 kB / 1.213 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.5801, allocations: 11.06 kB / 1.213 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5801, allocations: 0 / 1.213 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.5802, allocations: 3.938 kB / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5802, allocations: 0 / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.5806, allocations: 355.6 kB / 1.213 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5807, allocations: 0 / 1.213 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.5807, allocations: 16 kB / 1.213 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5807, allocations: 3.938 kB / 1.213 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.5808, allocations: 0 / 1.213 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5808, allocations: 0 / 1.213 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5808, allocations: 0 / 1.213 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.5809, allocations: 74.17 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.581, allocations: 81.05 kB / 1.214 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.581, allocations: 15.95 kB / 1.214 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5812, allocations: 3.984 kB / 1.214 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.5812, allocations: 0 / 1.214 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.5812, allocations: 4 kB / 1.214 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.5813, allocations: 87.22 kB / 1.214 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5813, allocations: 0 / 1.214 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004021/0.5817, allocations: 4 kB / 1.214 GB, free: 4.32 MB / 0.9669 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 (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.0002076/0.5819, allocations: 107.2 kB / 1.214 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.582, allocations: 12 kB / 1.214 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5821, allocations: 0 / 1.214 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.74e-05/0.5821, allocations: 7.938 kB / 1.214 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.5825, allocations: 7.984 kB / 1.214 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.5829, allocations: 127.8 kB / 1.214 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.5832, allocations: 0.6729 MB / 1.215 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.426e-05/0.5833, allocations: 7.984 kB / 1.215 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.5834, allocations: 11.38 kB / 1.215 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.5834, allocations: 4 kB / 1.215 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of Templates: time 0.004027/0.5874, allocations: 0.5685 MB / 1.215 GB, free: 2.734 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)