Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 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.001246/0.001246, allocations: 191 kB / 16.53 MB, free: 6.391 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.541/1.541, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.6986/0.6986, allocations: 95.48 MB / 365.2 MB, free: 9.891 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.001731/0.001732, allocations: 71.89 kB / 445.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3277, allocations: 69.07 MB / 0.5024 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion): time 0.498/0.8258, allocations: 158.9 MB / 0.6575 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 5.982e-05/0.8259, allocations: 37.94 kB / 0.6576 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.8259, allocations: 4.531 kB / 0.6576 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.8261, allocations: 0.5312 kB / 0.6576 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.8262, allocations: 13.86 kB / 0.6576 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.8276, allocations: 0.5569 MB / 0.6581 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.8277, allocations: 31.58 kB / 0.6581 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.8278, allocations: 3.656 kB / 0.6581 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.8278, allocations: 12.52 kB / 0.6582 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.8279, allocations: 12.8 kB / 0.6582 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.828, allocations: 0.5 kB / 0.6582 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.8293, allocations: 0.5897 MB / 0.6587 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.8294, allocations: 8.312 kB / 0.6588 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.8294, allocations: 15.56 kB / 0.6588 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.8301, allocations: 382.9 kB / 0.6591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8301, allocations: 2.344 kB / 0.6591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8301, allocations: 0.8438 kB / 0.6591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.8301, allocations: 0 / 0.6591 GB, free: 13.28 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.0005888/0.8307, allocations: 411.2 kB / 0.6595 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8308, allocations: 15.36 kB / 0.6595 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.8308, allocations: 1.094 kB / 0.6595 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.8309, allocations: 167.5 kB / 0.6597 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.831, allocations: 29.7 kB / 0.6597 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.831, allocations: 1.688 kB / 0.6597 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.8312, allocations: 52.39 kB / 0.6598 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.8312, allocations: 3.938 kB / 0.6598 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.8312, allocations: 3.406 kB / 0.6598 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.8313, allocations: 0 / 0.6598 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.8313, allocations: 27.59 kB / 0.6598 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.8317, allocations: 267.1 kB / 0.6601 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.8318, allocations: 22.56 kB / 0.6601 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.8318, allocations: 4.859 kB / 0.6601 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.8318, allocations: 6.781 kB / 0.6601 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.8318, allocations: 33.14 kB / 0.6601 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.8318, allocations: 0 / 0.6601 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.832, allocations: 36.77 kB / 0.6602 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.832, allocations: 59.38 kB / 0.6602 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.8321, allocations: 105.2 kB / 0.6603 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.8321, allocations: 25.7 kB / 0.6604 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.8322, allocations: 88.83 kB / 0.6604 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-06/0.8322, allocations: 3.906 kB / 0.6604 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.8323, allocations: 22.25 kB / 0.6605 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8324, allocations: 317.6 kB / 0.6608 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.8324, allocations: 9.094 kB / 0.6608 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.8324, allocations: 24.39 kB / 0.6608 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.8325, allocations: 30.08 kB / 0.6608 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8325, allocations: 2.344 kB / 0.6608 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.368e-05/0.8326, allocations: 56.42 kB / 0.6609 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8326, allocations: 8.672 kB / 0.6609 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.8326, allocations: 0 / 0.6609 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8326, allocations: 2.906 kB / 0.6609 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.8327, allocations: 6.688 kB / 0.6609 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.8327, allocations: 1.094 kB / 0.6609 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.8327, allocations: 0 / 0.6609 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.8327, allocations: 8.812 kB / 0.6609 GB, free: 11.51 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 8.843e-05/0.8328, allocations: 112.9 kB / 0.661 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.8328, allocations: 7.531 kB / 0.661 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.833, allocations: 128.5 kB / 0.6611 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.221e-05/0.833, allocations: 182.8 kB / 0.6613 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.378e-05/0.8331, allocations: 180.2 kB / 0.6615 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.8331, allocations: 178.3 kB / 0.6617 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.8334, allocations: 420.4 kB / 0.6621 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-05/0.8334, allocations: 106.1 kB / 0.6622 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.8334, allocations: 104.4 kB / 0.6623 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.557e-05/0.8335, allocations: 182.5 kB / 0.6624 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.8336, allocations: 183.4 kB / 0.6626 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.874e-05/0.8336, allocations: 178.4 kB / 0.6628 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-05/0.8337, allocations: 186 kB / 0.663 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.8338, allocations: 311.8 kB / 0.6633 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.8339, allocations: 180.6 kB / 0.6634 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.834, allocations: 184.1 kB / 0.6636 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.8341, allocations: 110.4 kB / 0.6637 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.8342, allocations: 179.5 kB / 0.6639 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.8343, allocations: 110.2 kB / 0.664 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.472e-05/0.8343, allocations: 86.8 kB / 0.6641 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8343, allocations: 0 / 0.6641 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004217/0.8347, allocations: 111.8 kB / 0.6642 GB, free: 8.102 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.0007044/0.8354, allocations: 356.2 kB / 0.6645 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.603e-05/0.8355, allocations: 12.06 kB / 0.6645 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8356, allocations: 0 / 0.6645 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.8356, allocations: 0 / 0.6645 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.8359, allocations: 471 kB / 0.665 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.8362, allocations: 173.2 kB / 0.6651 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.8364, allocations: 0.6813 MB / 0.6658 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.692e-05/0.8365, allocations: 7.531 kB / 0.6658 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.8365, allocations: 14 kB / 0.6658 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.8365, allocations: 0 / 0.6658 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of Templates: time 0.00501/0.8415, allocations: 2.311 MB / 0.6681 GB, free: 6.359 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)