Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, 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.001218/0.001218, allocations: 193 kB / 16.13 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.504/1.504, allocations: 205.1 MB / 222 MB, free: 4.723 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.6131/0.6131, allocations: 95.48 MB / 364.8 MB, free: 10.05 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.001344/0.001344, allocations: 64.28 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3284, allocations: 69.06 MB / 0.5017 GB, free: 17.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.4826/0.811, allocations: 158.8 MB / 0.6567 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001971/0.8112, allocations: 152.5 kB / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.8112, allocations: 0 / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.8114, allocations: 0 / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.45e-05/0.8115, allocations: 19.39 kB / 0.6569 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.8124, allocations: 177 kB / 0.6571 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.8125, allocations: 61.98 kB / 0.6571 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.8125, allocations: 2.625 kB / 0.6571 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.8126, allocations: 11.34 kB / 0.6571 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.8127, allocations: 11.3 kB / 0.6572 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.8127, allocations: 2.25 kB / 0.6572 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.8133, allocations: 273.9 kB / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.8134, allocations: 10.39 kB / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.8134, allocations: 7.797 kB / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.8138, allocations: 158.2 kB / 0.6576 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8138, allocations: 7.688 kB / 0.6576 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8138, allocations: 1.406 kB / 0.6576 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8138, allocations: 0 / 0.6576 GB, free: 12.68 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.0004412/0.8142, allocations: 364.6 kB / 0.6579 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.8143, allocations: 11.42 kB / 0.658 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.8143, allocations: 6.141 kB / 0.658 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.708e-05/0.8144, allocations: 160.3 kB / 0.6581 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.8145, allocations: 28.61 kB / 0.6581 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.8145, allocations: 7.938 kB / 0.6582 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.8147, allocations: 59.73 kB / 0.6582 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.8147, allocations: 0 / 0.6582 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.8147, allocations: 2.125 kB / 0.6582 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.8147, allocations: 2.531 kB / 0.6582 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.8148, allocations: 24.39 kB / 0.6582 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.8153, allocations: 356.6 kB / 0.6586 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.505e-05/0.8153, allocations: 21.02 kB / 0.6586 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.8153, allocations: 4.859 kB / 0.6586 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.8154, allocations: 3.562 kB / 0.6586 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8154, allocations: 36.61 kB / 0.6586 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.8154, allocations: 2.688 kB / 0.6586 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.8155, allocations: 34.83 kB / 0.6587 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.8156, allocations: 55.53 kB / 0.6587 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.8156, allocations: 109.8 kB / 0.6588 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.8157, allocations: 25.7 kB / 0.6589 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.8157, allocations: 87.48 kB / 0.6589 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.8157, allocations: 10.78 kB / 0.659 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.8158, allocations: 17.33 kB / 0.659 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.8158, allocations: 319.2 kB / 0.6593 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.8159, allocations: 5.594 kB / 0.6593 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.8159, allocations: 27.08 kB / 0.6593 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.8159, allocations: 28.28 kB / 0.6593 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.816, allocations: 3.938 kB / 0.6593 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.113e-05/0.816, allocations: 60.25 kB / 0.6594 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.8161, allocations: 9.469 kB / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.8161, allocations: 0 / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.8161, allocations: 2.406 kB / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/0.8161, allocations: 7.594 kB / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8162, allocations: 5.312 kB / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.8162, allocations: 0 / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.8162, allocations: 7.469 kB / 0.6594 GB, free: 10.83 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 6.557e-05/0.8163, allocations: 110.6 kB / 0.6595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.8163, allocations: 2.812 kB / 0.6595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.8164, allocations: 131.8 kB / 0.6597 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/0.8165, allocations: 182.8 kB / 0.6598 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-05/0.8165, allocations: 176.3 kB / 0.66 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.516e-05/0.8166, allocations: 180.2 kB / 0.6602 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.8168, allocations: 412.2 kB / 0.6606 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/0.8168, allocations: 107.5 kB / 0.6607 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.8169, allocations: 102.2 kB / 0.6608 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.925e-05/0.8169, allocations: 178.5 kB / 0.6609 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.817, allocations: 182.7 kB / 0.6611 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-05/0.817, allocations: 179.8 kB / 0.6613 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.363e-05/0.8171, allocations: 193.4 kB / 0.6615 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.8172, allocations: 309.3 kB / 0.6618 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.8173, allocations: 183.2 kB / 0.6619 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.8173, allocations: 179 kB / 0.6621 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.8175, allocations: 112.5 kB / 0.6622 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.8175, allocations: 184.1 kB / 0.6624 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.8176, allocations: 111.2 kB / 0.6625 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.8176, allocations: 84.7 kB / 0.6626 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8176, allocations: 0 / 0.6626 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002828/0.8179, allocations: 49.28 kB / 0.6626 GB, free: 7.449 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.0003576/0.8183, allocations: 240.8 kB / 0.6628 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.775e-05/0.8183, allocations: 11.34 kB / 0.6629 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8183, allocations: 5.219 kB / 0.6629 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.348e-06/0.8184, allocations: 0.5312 kB / 0.6629 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.8187, allocations: 0.5339 MB / 0.6634 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.819, allocations: 183.6 kB / 0.6636 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.8192, allocations: 0.6748 MB / 0.6642 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.8193, allocations: 9.25 kB / 0.6642 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.8193, allocations: 13.47 kB / 0.6642 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.8193, allocations: 0 / 0.6642 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of Templates: time 0.003087/0.8224, allocations: 1.114 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)