Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0007963/0.0007963, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005133/0.005133, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.415/1.415, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.574/1.574, allocations: 252 MB / 0.5105 GB, free: 4.668 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.0005867/0.0005868, allocations: 12 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5044/0.505, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1583/0.6633, allocations: 144.2 MB / 0.8695 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.6635, allocations: 43.88 kB / 0.8695 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.6635, allocations: 0 / 0.8695 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.6636, allocations: 7.922 kB / 0.8696 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.6637, allocations: 11.98 kB / 0.8696 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.6645, allocations: 195.3 kB / 0.8697 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.904e-05/0.6646, allocations: 47.89 kB / 0.8698 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.6646, allocations: 4 kB / 0.8698 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.6647, allocations: 19.92 kB / 0.8698 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.6648, allocations: 15.92 kB / 0.8698 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.6648, allocations: 0 / 0.8698 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.6653, allocations: 235.3 kB / 0.8701 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.6654, allocations: 11.98 kB / 0.8701 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.6654, allocations: 33.64 kB / 0.8701 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.6657, allocations: 121.7 kB / 0.8702 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6658, allocations: 0 / 0.8702 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6658, allocations: 0 / 0.8702 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6658, allocations: 0 / 0.8702 GB, free: 9.82 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.0004355/0.6662, allocations: 335 kB / 0.8705 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6663, allocations: 19.97 kB / 0.8706 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.6666, allocations: 24.91 kB / 0.8706 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.6668, allocations: 168.4 kB / 0.8707 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.6669, allocations: 33.62 kB / 0.8708 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.6669, allocations: 0 / 0.8708 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.6671, allocations: 45.69 kB / 0.8708 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6671, allocations: 3.938 kB / 0.8708 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.6671, allocations: 4 kB / 0.8708 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.6671, allocations: 4 kB / 0.8708 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.6673, allocations: 19.98 kB / 0.8708 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.6676, allocations: 260.8 kB / 0.8711 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.6677, allocations: 22.62 kB / 0.8711 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.6677, allocations: 12.86 kB / 0.8711 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.6679, allocations: 97.09 kB / 0.8712 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.668, allocations: 34.5 kB / 0.8713 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.668, allocations: 0 / 0.8713 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0002425/0.6682, allocations: 49.69 kB / 0.8713 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6683, allocations: 51.41 kB / 0.8714 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.6684, allocations: 113.8 kB / 0.8715 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.6684, allocations: 25.7 kB / 0.8715 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.6684, allocations: 88.05 kB / 0.8716 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.6685, allocations: 11.89 kB / 0.8716 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.6685, allocations: 9.719 kB / 0.8716 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6687, allocations: 314.8 kB / 0.8719 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.6687, allocations: 3.938 kB / 0.8719 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.6687, allocations: 34.5 kB / 0.8719 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.6688, allocations: 30.58 kB / 0.872 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6688, allocations: 0 / 0.872 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.257e-05/0.6689, allocations: 53.62 kB / 0.872 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6689, allocations: 4 kB / 0.872 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6689, allocations: 0 / 0.872 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6689, allocations: 8.094 kB / 0.872 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.669, allocations: 7.938 kB / 0.872 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.669, allocations: 3.938 kB / 0.872 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.669, allocations: 4 kB / 0.872 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.669, allocations: 0 / 0.872 GB, free: 7.699 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.934e-05/0.6691, allocations: 117.8 kB / 0.8721 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.6691, allocations: 0 / 0.8721 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.6692, allocations: 3.125 kB / 0.8721 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6692, allocations: 4 kB / 0.8722 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6692, allocations: 7.938 kB / 0.8722 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6692, allocations: 0 / 0.8722 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.6695, allocations: 371.4 kB / 0.8725 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.6695, allocations: 0 / 0.8725 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.6695, allocations: 4 kB / 0.8725 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6695, allocations: 3.938 kB / 0.8725 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.6696, allocations: 4 kB / 0.8725 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6696, allocations: 0 / 0.8725 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6696, allocations: 4.062 kB / 0.8725 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.561e-05/0.6697, allocations: 69.92 kB / 0.8726 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.6697, allocations: 85.05 kB / 0.8727 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.6697, allocations: 4 kB / 0.8727 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.6698, allocations: 4 kB / 0.8727 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.6698, allocations: 8.016 kB / 0.8727 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6698, allocations: 4 kB / 0.8727 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.6699, allocations: 79.28 kB / 0.8728 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6699, allocations: 0 / 0.8728 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001942/0.6701, allocations: 4 kB / 0.8728 GB, free: 6.824 MB / 0.6856 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.0001866/0.6703, allocations: 107.2 kB / 0.8729 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.022e-05/0.6704, allocations: 19.92 kB / 0.8729 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6704, allocations: 3.938 kB / 0.8729 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.6704, allocations: 4 kB / 0.8729 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.6706, allocations: 12.36 kB / 0.8729 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.6709, allocations: 137.6 kB / 0.873 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.6712, allocations: 0.6809 MB / 0.8737 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.349e-05/0.6713, allocations: 11.97 kB / 0.8737 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.6713, allocations: 7.438 kB / 0.8737 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of SimCode: time 3.41e-07/0.6713, allocations: 0 / 0.8737 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of Templates: time 0.002695/0.674, allocations: 0.5104 MB / 0.8742 GB, free: 5.273 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: