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.0009588/0.0009589, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007934/0.007934, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.652/1.652, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.6249/0.6249, allocations: 95.62 MB / 366.4 MB, free: 10.24 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.0009509/0.000951, allocations: 15.98 kB / 447.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4512, allocations: 70.34 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion): time 0.5502/1.001, allocations: 154.8 MB / 0.6568 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002207/1.002, allocations: 29.88 kB / 0.6569 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/1.002, allocations: 0 / 0.6569 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/1.002, allocations: 6.562 kB / 0.6569 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.321e-05/1.002, allocations: 12.86 kB / 0.6569 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/1.004, allocations: 472.6 kB / 0.6573 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/1.004, allocations: 60.45 kB / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/1.004, allocations: 2.625 kB / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/1.004, allocations: 7.5 kB / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/1.004, allocations: 15.84 kB / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/1.004, allocations: 0 / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/1.005, allocations: 0.5918 MB / 0.658 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/1.006, allocations: 10.44 kB / 0.658 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/1.006, allocations: 34.62 kB / 0.658 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005868/1.006, allocations: 397.1 kB / 0.6584 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.006, allocations: 0 / 0.6584 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/1.006, allocations: 0 / 0.6584 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/1.006, allocations: 0.5 kB / 0.6584 GB, free: 12.58 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.0005557/1.007, allocations: 406.5 kB / 0.6588 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.007, allocations: 19.36 kB / 0.6588 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/1.007, allocations: 0 / 0.6588 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.007, allocations: 169.4 kB / 0.659 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/1.007, allocations: 28.98 kB / 0.659 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/1.007, allocations: 0 / 0.659 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/1.007, allocations: 45.59 kB / 0.659 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.007, allocations: 3.938 kB / 0.6591 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.007, allocations: 3.812 kB / 0.6591 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/1.007, allocations: 4.031 kB / 0.6591 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/1.007, allocations: 24.86 kB / 0.6591 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/1.008, allocations: 261.5 kB / 0.6593 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.029e-05/1.008, allocations: 26.17 kB / 0.6594 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/1.008, allocations: 4.859 kB / 0.6594 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/1.008, allocations: 3.406 kB / 0.6594 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.008, allocations: 38.38 kB / 0.6594 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/1.008, allocations: 4.656 kB / 0.6594 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001462/1.008, allocations: 39.92 kB / 0.6594 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.008, allocations: 53.98 kB / 0.6595 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/1.008, allocations: 103.2 kB / 0.6596 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/1.008, allocations: 25.7 kB / 0.6596 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/1.008, allocations: 85.45 kB / 0.6597 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-06/1.008, allocations: 11.62 kB / 0.6597 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/1.008, allocations: 19.88 kB / 0.6597 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.009, allocations: 318.9 kB / 0.66 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/1.009, allocations: 2.844 kB / 0.66 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/1.009, allocations: 26.86 kB / 0.6601 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/1.009, allocations: 33.78 kB / 0.6601 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.009, allocations: 4 kB / 0.6601 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.79e-05/1.009, allocations: 55.36 kB / 0.6602 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.009, allocations: 5.25 kB / 0.6602 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.009, allocations: 0 / 0.6602 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.009, allocations: 4.766 kB / 0.6602 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/1.009, allocations: 10.61 kB / 0.6602 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/1.009, allocations: 1.969 kB / 0.6602 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/1.009, allocations: 3.312 kB / 0.6602 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/1.009, allocations: 0 / 0.6602 GB, free: 10.8 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 7.424e-05/1.009, allocations: 120 kB / 0.6603 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/1.009, allocations: 5.531 kB / 0.6603 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/1.009, allocations: 120.2 kB / 0.6604 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/1.009, allocations: 186.9 kB / 0.6606 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.244e-05/1.009, allocations: 187.4 kB / 0.6608 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001543/1.01, allocations: 180.3 kB / 0.6609 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/1.01, allocations: 408.8 kB / 0.6613 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/1.01, allocations: 104.8 kB / 0.6614 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/1.01, allocations: 101 kB / 0.6615 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.658e-05/1.01, allocations: 186 kB / 0.6617 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/1.01, allocations: 176.3 kB / 0.6619 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.033e-05/1.01, allocations: 184.2 kB / 0.662 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.048e-05/1.01, allocations: 184.2 kB / 0.6622 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/1.01, allocations: 311 kB / 0.6625 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/1.01, allocations: 184.7 kB / 0.6627 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/1.011, allocations: 191.6 kB / 0.6629 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/1.011, allocations: 104.2 kB / 0.663 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/1.011, allocations: 178.7 kB / 0.6631 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/1.011, allocations: 107.9 kB / 0.6633 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.814e-05/1.011, allocations: 85.11 kB / 0.6633 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.011, allocations: 0 / 0.6633 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004812/1.012, allocations: 105.6 kB / 0.6634 GB, free: 7.406 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.000732/1.012, allocations: 353.3 kB / 0.6638 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/1.012, allocations: 14.84 kB / 0.6638 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.012, allocations: 4.719 kB / 0.6638 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/1.012, allocations: 0.6562 kB / 0.6638 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/1.013, allocations: 0.526 MB / 0.6643 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/1.013, allocations: 196.7 kB / 0.6645 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/1.014, allocations: 0.6805 MB / 0.6652 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.438e-05/1.014, allocations: 8.969 kB / 0.6652 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/1.014, allocations: 10.19 kB / 0.6652 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/1.014, allocations: 0 / 0.6652 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of Templates: time 0.005551/1.019, allocations: 2.282 MB / 0.6674 GB, free: 5.582 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: