Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0018/0.0018, allocations: 193.8 kB / 16.13 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.697/1.697, allocations: 205.1 MB / 222 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.574/0.574, allocations: 95.47 MB / 364.8 MB, free: 10.18 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 71.89 kB / 444.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3351, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion): time 0.4832/0.8184, allocations: 153.7 MB / 0.6518 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 6.256e-05/0.8185, allocations: 18.84 kB / 0.6518 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.8185, allocations: 0 / 0.6518 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.8187, allocations: 11.2 kB / 0.6518 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.824e-05/0.8188, allocations: 8.625 kB / 0.6519 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.8201, allocations: 442.4 kB / 0.6523 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.74e-05/0.8202, allocations: 53.44 kB / 0.6523 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.8203, allocations: 5.375 kB / 0.6523 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.8203, allocations: 8.578 kB / 0.6523 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.8204, allocations: 17.72 kB / 0.6524 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.8204, allocations: 5.25 kB / 0.6524 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.8216, allocations: 0.5309 MB / 0.6529 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.8217, allocations: 8.688 kB / 0.6529 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.8217, allocations: 7.891 kB / 0.6529 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.8225, allocations: 360 kB / 0.6532 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.8226, allocations: 1.766 kB / 0.6532 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8226, allocations: 0 / 0.6532 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.8226, allocations: 0.5625 kB / 0.6532 GB, free: 12.94 MB / 0.4981 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.0006266/0.8232, allocations: 408.4 kB / 0.6536 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.8233, allocations: 13.45 kB / 0.6536 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.8233, allocations: 6.062 kB / 0.6537 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.8235, allocations: 159.6 kB / 0.6538 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.8235, allocations: 29.89 kB / 0.6538 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.8236, allocations: 1.5 kB / 0.6538 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.8237, allocations: 51.77 kB / 0.6539 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8238, allocations: 1.094 kB / 0.6539 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.8238, allocations: 4.5 kB / 0.6539 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.8238, allocations: 6.219 kB / 0.6539 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.8239, allocations: 23.72 kB / 0.6539 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.8243, allocations: 253.9 kB / 0.6542 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.8244, allocations: 27.2 kB / 0.6542 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.8244, allocations: 10.3 kB / 0.6542 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.8245, allocations: 1.688 kB / 0.6542 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.8245, allocations: 35.56 kB / 0.6542 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.535e-06/0.8245, allocations: 0.5312 kB / 0.6542 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001851/0.8247, allocations: 39.09 kB / 0.6543 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.8247, allocations: 51.97 kB / 0.6543 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.8248, allocations: 103 kB / 0.6544 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.8249, allocations: 26.2 kB / 0.6544 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.8249, allocations: 96.11 kB / 0.6545 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.8249, allocations: 8.688 kB / 0.6545 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.825, allocations: 18.59 kB / 0.6546 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.8251, allocations: 318.1 kB / 0.6549 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.8252, allocations: 2.875 kB / 0.6549 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.8252, allocations: 22.5 kB / 0.6549 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.8253, allocations: 35.09 kB / 0.6549 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8253, allocations: 1.656 kB / 0.6549 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.8254, allocations: 60.45 kB / 0.655 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.8254, allocations: 9.5 kB / 0.655 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.8254, allocations: 0.5625 kB / 0.655 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.8255, allocations: 3.453 kB / 0.655 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.8255, allocations: 6.375 kB / 0.655 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8255, allocations: 1.312 kB / 0.655 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.8256, allocations: 9.688 kB / 0.655 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.8256, allocations: 2.375 kB / 0.655 GB, free: 11.17 MB / 0.4981 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 9.163e-05/0.8257, allocations: 111 kB / 0.6551 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.8257, allocations: 6.672 kB / 0.6551 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.8259, allocations: 130.4 kB / 0.6552 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.628e-05/0.826, allocations: 177.5 kB / 0.6554 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.686e-05/0.8261, allocations: 181 kB / 0.6556 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.156e-05/0.8262, allocations: 183.4 kB / 0.6558 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.8264, allocations: 410.7 kB / 0.6562 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/0.8265, allocations: 105.9 kB / 0.6563 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.8265, allocations: 108.1 kB / 0.6564 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.467e-05/0.8266, allocations: 189.8 kB / 0.6565 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/0.8267, allocations: 180.7 kB / 0.6567 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.665e-05/0.8267, allocations: 179.4 kB / 0.6569 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.979e-05/0.8268, allocations: 182.4 kB / 0.6571 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.8269, allocations: 314.6 kB / 0.6574 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.827, allocations: 179.2 kB / 0.6575 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.8271, allocations: 180.6 kB / 0.6577 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.8272, allocations: 107.1 kB / 0.6578 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.8273, allocations: 179.4 kB / 0.658 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.8273, allocations: 109.1 kB / 0.6581 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.8274, allocations: 87.95 kB / 0.6582 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8274, allocations: 0 / 0.6582 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004682/0.8278, allocations: 93.73 kB / 0.6583 GB, free: 7.777 MB / 0.4981 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 (0): * Single equations (assignments): 0 * 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.0006714/0.8285, allocations: 339.5 kB / 0.6586 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.637e-05/0.8286, allocations: 13.5 kB / 0.6586 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8286, allocations: 1.203 kB / 0.6586 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/0.8286, allocations: 3.938 kB / 0.6586 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.8291, allocations: 0.5273 MB / 0.6591 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.8294, allocations: 185.1 kB / 0.6593 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.8296, allocations: 0.6743 MB / 0.6599 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.929e-05/0.8297, allocations: 7.547 kB / 0.66 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.8297, allocations: 14.09 kB / 0.66 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.8297, allocations: 1.094 kB / 0.66 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.005064/0.8348, allocations: 2.201 MB / 0.6621 GB, free: 5.934 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)