Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 251.7 MB / 0.5092 GB, free: 3.09 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.91 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4815, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1694/0.6509, allocations: 147.8 MB / 0.8689 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001665/0.6511, allocations: 51.72 kB / 0.8689 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.6512, allocations: 4 kB / 0.8689 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.6513, allocations: 0 / 0.8689 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/0.6514, allocations: 19.92 kB / 0.869 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.6519, allocations: 100.5 kB / 0.8691 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.652, allocations: 31.91 kB / 0.8691 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.6521, allocations: 4 kB / 0.8691 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/0.6521, allocations: 15.92 kB / 0.8691 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.6522, allocations: 15.92 kB / 0.8691 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.6522, allocations: 0 / 0.8691 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.6525, allocations: 87.72 kB / 0.8692 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.6526, allocations: 7.984 kB / 0.8692 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.6526, allocations: 7.938 kB / 0.8692 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.6528, allocations: 69.88 kB / 0.8693 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.6528, allocations: 0 / 0.8693 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6528, allocations: 0 / 0.8693 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.6528, allocations: 0 / 0.8693 GB, free: 8.098 MB / 0.6856 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.0006047/0.6534, allocations: 339.5 kB / 0.8696 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.6534, allocations: 12.03 kB / 0.8696 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.6537, allocations: 20.92 kB / 0.8696 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.6538, allocations: 164.4 kB / 0.8698 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/0.6539, allocations: 29.64 kB / 0.8698 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.6539, allocations: 4 kB / 0.8698 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.6541, allocations: 53.61 kB / 0.8699 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.6541, allocations: 4 kB / 0.8699 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.6541, allocations: 3.938 kB / 0.8699 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.6541, allocations: 4 kB / 0.8699 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/0.6542, allocations: 23.97 kB / 0.8699 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.6546, allocations: 260.7 kB / 0.8702 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.6547, allocations: 22.55 kB / 0.8702 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.6547, allocations: 8.922 kB / 0.8702 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/0.6547, allocations: 4 kB / 0.8702 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.6548, allocations: 34.56 kB / 0.8702 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.6548, allocations: 0 / 0.8702 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.6549, allocations: 29.7 kB / 0.8703 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.655, allocations: 55.34 kB / 0.8703 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.6551, allocations: 105.8 kB / 0.8704 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.6551, allocations: 29.7 kB / 0.8704 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.6552, allocations: 100 kB / 0.8705 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.6552, allocations: 3.938 kB / 0.8705 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.6552, allocations: 17.7 kB / 0.8706 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6553, allocations: 314.8 kB / 0.8709 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.6554, allocations: 4 kB / 0.8709 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.6554, allocations: 22.56 kB / 0.8709 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.6555, allocations: 30.58 kB / 0.8709 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6555, allocations: 4 kB / 0.8709 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.23e-05/0.6556, allocations: 57.56 kB / 0.871 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.6556, allocations: 4 kB / 0.871 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6556, allocations: 0 / 0.871 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6556, allocations: 0 / 0.871 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.6557, allocations: 8 kB / 0.871 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6557, allocations: 8.031 kB / 0.871 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.6558, allocations: 7.906 kB / 0.871 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.6558, allocations: 4 kB / 0.871 GB, free: 6.094 MB / 0.6856 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.87e-05/0.6559, allocations: 109.8 kB / 0.8711 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.6559, allocations: 3.984 kB / 0.8711 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.6559, allocations: 3.125 kB / 0.8711 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.6559, allocations: 0 / 0.8711 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6559, allocations: 3.938 kB / 0.8711 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6559, allocations: 3.938 kB / 0.8711 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.6563, allocations: 354.7 kB / 0.8715 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6563, allocations: 0 / 0.8715 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/0.6563, allocations: 0 / 0.8715 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.6563, allocations: 3.938 kB / 0.8715 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.6563, allocations: 3.984 kB / 0.8715 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.6563, allocations: 256 / 0.8715 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6563, allocations: 4 kB / 0.8715 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.438e-05/0.6564, allocations: 57.17 kB / 0.8715 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.6565, allocations: 81.05 kB / 0.8716 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.6565, allocations: 4 kB / 0.8716 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.6566, allocations: 11.92 kB / 0.8716 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.6566, allocations: 3.938 kB / 0.8716 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.6566, allocations: 4 kB / 0.8716 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.6567, allocations: 79.28 kB / 0.8717 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6567, allocations: 0 / 0.8717 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001987/0.6569, allocations: 8.031 kB / 0.8717 GB, free: 5.262 MB / 0.6856 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.0001303/0.657, allocations: 107.2 kB / 0.8718 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.6571, allocations: 8 kB / 0.8718 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6571, allocations: 0 / 0.8718 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-06/0.6571, allocations: 7.938 kB / 0.8718 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.6574, allocations: 0.75 kB / 0.8718 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.6577, allocations: 114.8 kB / 0.8719 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.658, allocations: 0.6768 MB / 0.8726 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.6581, allocations: 12.06 kB / 0.8726 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.6581, allocations: 7.438 kB / 0.8726 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of SimCode: time 2.11e-07/0.6581, allocations: 0 / 0.8726 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of Templates: time 0.002567/0.6607, allocations: 467.7 kB / 0.8731 GB, free: 3.855 MB / 0.6856 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)