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.001361/0.001362, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001726/0.001726, allocations: 194.4 kB / 16.14 MB, free: 6.715 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.585/1.585, 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.7308/0.7308, allocations: 95.48 MB / 364.8 MB, free: 10.11 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.002343/0.002343, allocations: 63.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4415, allocations: 69.06 MB / 0.5017 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion): time 0.4791/0.9207, allocations: 156.8 MB / 0.6549 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 6.506e-05/0.9208, allocations: 30.03 kB / 0.6549 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.9208, allocations: 0.5625 kB / 0.6549 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.9209, allocations: 1.656 kB / 0.6549 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.921, allocations: 17.64 kB / 0.6549 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.9229, allocations: 476.4 kB / 0.6554 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.923, allocations: 56.36 kB / 0.6554 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.9231, allocations: 8.125 kB / 0.6554 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.9231, allocations: 14.81 kB / 0.6554 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.9232, allocations: 11.11 kB / 0.6554 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.9233, allocations: 2.156 kB / 0.6554 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.9246, allocations: 0.5905 MB / 0.656 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.9247, allocations: 4.906 kB / 0.656 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.9247, allocations: 15.25 kB / 0.656 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.9253, allocations: 390.8 kB / 0.6564 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9253, allocations: 4 kB / 0.6564 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.9253, allocations: 0 / 0.6564 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.9254, allocations: 0 / 0.6564 GB, free: 12.72 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.0004906/0.9258, allocations: 418.5 kB / 0.6568 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.9259, allocations: 14.89 kB / 0.6568 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.9259, allocations: 0 / 0.6568 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.9261, allocations: 165.6 kB / 0.657 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.9261, allocations: 25.7 kB / 0.657 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.9261, allocations: 5.094 kB / 0.657 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.9263, allocations: 50.77 kB / 0.6571 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.9263, allocations: 3.938 kB / 0.6571 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.9263, allocations: 0 / 0.6571 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.9263, allocations: 3.953 kB / 0.6571 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.9264, allocations: 23.77 kB / 0.6571 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.9268, allocations: 262.1 kB / 0.6573 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.257e-05/0.9268, allocations: 27 kB / 0.6574 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.9269, allocations: 5.891 kB / 0.6574 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.9269, allocations: 1.938 kB / 0.6574 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.9269, allocations: 32.69 kB / 0.6574 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.9269, allocations: 0 / 0.6574 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.9271, allocations: 46.05 kB / 0.6575 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.9271, allocations: 52 kB / 0.6575 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.9272, allocations: 102.7 kB / 0.6576 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.9272, allocations: 34.73 kB / 0.6576 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.9273, allocations: 91.69 kB / 0.6577 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.9273, allocations: 10.78 kB / 0.6577 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.9273, allocations: 17.88 kB / 0.6578 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.9275, allocations: 318.1 kB / 0.6581 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.9275, allocations: 3.594 kB / 0.6581 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.9275, allocations: 26.23 kB / 0.6581 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.9276, allocations: 34.55 kB / 0.6581 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9276, allocations: 1.969 kB / 0.6581 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.678e-05/0.9277, allocations: 53.8 kB / 0.6582 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.9277, allocations: 8.609 kB / 0.6582 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9277, allocations: 2.812 kB / 0.6582 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.9277, allocations: 6.719 kB / 0.6582 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.9278, allocations: 6.469 kB / 0.6582 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.9278, allocations: 2.969 kB / 0.6582 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.9278, allocations: 0 / 0.6582 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.9278, allocations: 2.719 kB / 0.6582 GB, free: 10.94 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.863e-05/0.9279, allocations: 117 kB / 0.6583 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.9279, allocations: 2.844 kB / 0.6583 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.9281, allocations: 125.8 kB / 0.6584 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.266e-05/0.9281, allocations: 182.4 kB / 0.6586 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.107e-05/0.9282, allocations: 181.3 kB / 0.6588 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.389e-05/0.9283, allocations: 179.3 kB / 0.659 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.9285, allocations: 413.4 kB / 0.6593 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/0.9285, allocations: 110.2 kB / 0.6595 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.9286, allocations: 101.9 kB / 0.6595 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.739e-05/0.9287, allocations: 186.9 kB / 0.6597 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.9287, allocations: 176.3 kB / 0.6599 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.199e-05/0.9288, allocations: 186.5 kB / 0.6601 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-05/0.9289, allocations: 179 kB / 0.6602 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.929, allocations: 315.5 kB / 0.6605 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.9291, allocations: 181.8 kB / 0.6607 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/0.9292, allocations: 186.9 kB / 0.6609 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.9293, allocations: 103.5 kB / 0.661 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.9294, allocations: 185.2 kB / 0.6612 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.9294, allocations: 108.5 kB / 0.6613 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.9295, allocations: 83.16 kB / 0.6614 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9295, allocations: 0 / 0.6614 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004515/0.9299, allocations: 107.5 kB / 0.6615 GB, free: 7.551 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.0008409/0.9308, allocations: 362.2 kB / 0.6618 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.42e-05/0.9309, allocations: 12.12 kB / 0.6618 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9309, allocations: 0.5 kB / 0.6618 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.9309, allocations: 1.734 kB / 0.6618 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.9314, allocations: 0.532 MB / 0.6623 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.9317, allocations: 181.9 kB / 0.6625 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.932, allocations: 0.6744 MB / 0.6632 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.66e-05/0.932, allocations: 15.12 kB / 0.6632 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.932, allocations: 14 kB / 0.6632 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of SimCode: time 1.502e-06/0.9321, allocations: 0.5312 kB / 0.6632 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.00487/0.9369, allocations: 2.282 MB / 0.6654 GB, free: 5.727 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)