Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008402, allocations: 90.52 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.005987/0.005987, allocations: 171.1 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.675/1.675, 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.6399/0.6399, allocations: 95.63 MB / 366.4 MB, free: 10.23 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.0005548/0.0005548, allocations: 12 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3953, allocations: 70.33 MB / 0.5057 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.6019/0.9973, allocations: 156.7 MB / 0.6587 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000187/0.9975, allocations: 140.6 kB / 0.6588 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.9975, allocations: 4.562 kB / 0.6588 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.9976, allocations: 2.969 kB / 0.6588 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/0.9977, allocations: 16.12 kB / 0.6588 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.9986, allocations: 179.8 kB / 0.659 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.9987, allocations: 54.61 kB / 0.659 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.9987, allocations: 3.312 kB / 0.659 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.9988, allocations: 13.72 kB / 0.6591 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.9989, allocations: 17.48 kB / 0.6591 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.9989, allocations: 3.125 kB / 0.6591 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.9995, allocations: 279 kB / 0.6593 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.9996, allocations: 8.562 kB / 0.6593 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.9996, allocations: 37.34 kB / 0.6594 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.9999, allocations: 155.2 kB / 0.6595 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9999, allocations: 0 / 0.6595 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9999, allocations: 0 / 0.6595 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.82e-06/0.9999, allocations: 0 / 0.6595 GB, free: 12.55 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.0005155/1, allocations: 361.9 kB / 0.6599 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.001, allocations: 14.58 kB / 0.6599 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/1.001, allocations: 3.453 kB / 0.6599 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/1.001, allocations: 159.1 kB / 0.66 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-05/1.001, allocations: 29.2 kB / 0.6601 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.001, allocations: 15.23 kB / 0.6601 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/1.001, allocations: 50.66 kB / 0.6601 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.001, allocations: 0 / 0.6601 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/1.001, allocations: 4 kB / 0.6601 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/1.001, allocations: 2.875 kB / 0.6601 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/1.001, allocations: 25.38 kB / 0.6602 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/1.002, allocations: 351.8 kB / 0.6605 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/1.002, allocations: 23.09 kB / 0.6605 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/1.002, allocations: 9.859 kB / 0.6605 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/1.002, allocations: 2.5 kB / 0.6605 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.002, allocations: 31.25 kB / 0.6606 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/1.002, allocations: 0 / 0.6606 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001726/1.002, allocations: 42.67 kB / 0.6606 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.002, allocations: 51.97 kB / 0.6607 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/1.002, allocations: 110.9 kB / 0.6608 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/1.002, allocations: 25.83 kB / 0.6608 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/1.002, allocations: 91.7 kB / 0.6609 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/1.002, allocations: 2.953 kB / 0.6609 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/1.002, allocations: 16.7 kB / 0.6609 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.002, allocations: 316 kB / 0.6612 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/1.003, allocations: 5.375 kB / 0.6612 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/1.003, allocations: 25.73 kB / 0.6612 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/1.003, allocations: 35.14 kB / 0.6613 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.003, allocations: 7.312 kB / 0.6613 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.82e-05/1.003, allocations: 59.17 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.003, allocations: 7 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.003, allocations: 0 / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/1.003, allocations: 0 / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/1.003, allocations: 8.469 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.003, allocations: 7.312 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/1.003, allocations: 0 / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/1.003, allocations: 6.875 kB / 0.6613 GB, free: 10.7 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.734e-05/1.003, allocations: 111.1 kB / 0.6615 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/1.003, allocations: 3.938 kB / 0.6615 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/1.003, allocations: 122.8 kB / 0.6616 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.801e-05/1.003, allocations: 185.4 kB / 0.6618 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.581e-05/1.003, allocations: 180.2 kB / 0.6619 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-05/1.003, allocations: 182.1 kB / 0.6621 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/1.004, allocations: 402.4 kB / 0.6625 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-05/1.004, allocations: 108.3 kB / 0.6626 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/1.004, allocations: 107.4 kB / 0.6627 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.421e-05/1.004, allocations: 184.2 kB / 0.6629 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/1.004, allocations: 179.6 kB / 0.663 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.849e-05/1.004, allocations: 178.8 kB / 0.6632 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-05/1.004, allocations: 180.2 kB / 0.6634 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/1.004, allocations: 321.5 kB / 0.6637 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/1.004, allocations: 182.1 kB / 0.6639 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/1.004, allocations: 180.1 kB / 0.664 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/1.004, allocations: 111.4 kB / 0.6641 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/1.005, allocations: 187.1 kB / 0.6643 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/1.005, allocations: 110 kB / 0.6644 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.834e-05/1.005, allocations: 93.78 kB / 0.6645 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.005, allocations: 0 / 0.6645 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003472/1.005, allocations: 45.22 kB / 0.6646 GB, free: 7.312 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.0003466/1.005, allocations: 233.6 kB / 0.6648 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.86e-05/1.006, allocations: 19.31 kB / 0.6648 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.006, allocations: 0 / 0.6648 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/1.006, allocations: 3.938 kB / 0.6648 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/1.006, allocations: 0.5179 MB / 0.6653 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/1.006, allocations: 196.3 kB / 0.6655 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/1.007, allocations: 0.6744 MB / 0.6661 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.345e-05/1.007, allocations: 8.375 kB / 0.6662 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/1.007, allocations: 10.62 kB / 0.6662 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/1.007, allocations: 0 / 0.6662 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of Templates: time 0.004228/1.011, allocations: 1.103 MB / 0.6672 GB, free: 5.613 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: