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.006264/0.006264, allocations: 102 kB / 15.73 MB, free: 6.051 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.001555/0.001555, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.463/1.463, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.535/1.535, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.001651/0.001651, allocations: 67.91 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2745, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7993/1.074, allocations: 148.3 MB / 0.9728 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001737/1.074, allocations: 49.64 kB / 0.9729 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/1.074, allocations: 0 / 0.9729 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/1.074, allocations: 8.422 kB / 0.9729 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/1.074, allocations: 11.39 kB / 0.9729 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/1.075, allocations: 208.1 kB / 0.9731 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/1.076, allocations: 28.14 kB / 0.9731 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/1.076, allocations: 5.375 kB / 0.9731 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/1.076, allocations: 18.69 kB / 0.9731 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/1.076, allocations: 8.422 kB / 0.9732 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/1.076, allocations: 2.031 kB / 0.9732 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/1.076, allocations: 206 kB / 0.9734 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/1.076, allocations: 8.516 kB / 0.9734 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/1.076, allocations: 16.45 kB / 0.9734 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/1.077, allocations: 106.4 kB / 0.9735 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.077, allocations: 0 / 0.9735 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/1.077, allocations: 0 / 0.9735 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.077, allocations: 2.625 kB / 0.9735 GB, free: 8.188 MB / 0.7325 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.0004928/1.077, allocations: 338.5 kB / 0.9738 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.077, allocations: 9.031 kB / 0.9738 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/1.078, allocations: 32.77 kB / 0.9738 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.078, allocations: 161.7 kB / 0.974 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.781e-05/1.078, allocations: 34.8 kB / 0.974 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.078, allocations: 1.031 kB / 0.974 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/1.078, allocations: 52.31 kB / 0.9741 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.078, allocations: 0 / 0.9741 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.078, allocations: 1.062 kB / 0.9741 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/1.078, allocations: 4.344 kB / 0.9741 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/1.078, allocations: 18.64 kB / 0.9741 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/1.079, allocations: 269.1 kB / 0.9744 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.383e-05/1.079, allocations: 26.64 kB / 0.9744 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/1.079, allocations: 7.172 kB / 0.9744 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/1.079, allocations: 94.23 kB / 0.9745 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/1.079, allocations: 39.11 kB / 0.9745 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/1.079, allocations: 0 / 0.9745 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003187/1.08, allocations: 44.94 kB / 0.9746 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/1.08, allocations: 56.91 kB / 0.9746 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/1.08, allocations: 107.7 kB / 0.9747 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/1.08, allocations: 25.7 kB / 0.9747 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/1.08, allocations: 89.27 kB / 0.9748 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/1.08, allocations: 12.62 kB / 0.9748 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/1.08, allocations: 15.58 kB / 0.9749 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.08, allocations: 315.4 kB / 0.9752 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/1.08, allocations: 5.578 kB / 0.9752 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/1.08, allocations: 25.58 kB / 0.9752 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/1.08, allocations: 34.8 kB / 0.9752 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.08, allocations: 0 / 0.9752 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/1.08, allocations: 53.81 kB / 0.9753 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.08, allocations: 4.875 kB / 0.9753 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.081, allocations: 5.109 kB / 0.9753 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.081, allocations: 1.188 kB / 0.9753 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/1.081, allocations: 5.375 kB / 0.9753 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.081, allocations: 5.281 kB / 0.9753 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/1.081, allocations: 5.969 kB / 0.9753 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/1.081, allocations: 5.031 kB / 0.9753 GB, free: 6.352 MB / 0.7325 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.0001114/1.081, allocations: 115 kB / 0.9754 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/1.081, allocations: 5.031 kB / 0.9754 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/1.081, allocations: 7.688 kB / 0.9754 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.081, allocations: 0.75 kB / 0.9754 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.081, allocations: 1.062 kB / 0.9754 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.081, allocations: 5.719 kB / 0.9754 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/1.081, allocations: 362.8 kB / 0.9758 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.081, allocations: 1.125 kB / 0.9758 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/1.081, allocations: 3.469 kB / 0.9758 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.081, allocations: 5.219 kB / 0.9758 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/1.081, allocations: 0 / 0.9758 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.081, allocations: 1.625 kB / 0.9758 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.081, allocations: 3.938 kB / 0.9758 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/1.082, allocations: 73.69 kB / 0.9759 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/1.082, allocations: 84.67 kB / 0.9759 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/1.082, allocations: 5.188 kB / 0.976 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/1.082, allocations: 8.109 kB / 0.976 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/1.082, allocations: 2.094 kB / 0.976 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/1.082, allocations: 1.062 kB / 0.976 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.389e-05/1.082, allocations: 85.02 kB / 0.976 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.094e-06/1.082, allocations: 0 / 0.976 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002144/1.082, allocations: 10.22 kB / 0.9761 GB, free: 5.57 MB / 0.7325 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.000182/1.082, allocations: 103.6 kB / 0.9762 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001313/1.082, allocations: 15.69 kB / 0.9762 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.082, allocations: 1.25 kB / 0.9762 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/1.082, allocations: 18.39 kB / 0.9762 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/1.083, allocations: 3.125 kB / 0.9762 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/1.083, allocations: 122.8 kB / 0.9763 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/1.083, allocations: 0.6765 MB / 0.977 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.12e-05/1.084, allocations: 9.281 kB / 0.977 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/1.084, allocations: 9.031 kB / 0.977 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/1.084, allocations: 0 / 0.977 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of Templates: time 0.002982/1.087, allocations: 0.5484 MB / 0.9775 GB, free: 4.57 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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)