Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, 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.001621/0.001621, allocations: 194.1 kB / 16.14 MB, free: 6.699 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.551/1.551, allocations: 205.1 MB / 222 MB, free: 4.988 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.5668/0.5668, allocations: 95.47 MB / 364.8 MB, free: 10.18 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.001297/0.001297, allocations: 67.92 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 69.06 MB / 0.5017 GB, free: 17.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.4922/0.7984, allocations: 158.7 MB / 0.6567 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 7.429e-05/0.7986, allocations: 29.42 kB / 0.6567 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.7986, allocations: 4 kB / 0.6567 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.7988, allocations: 0 / 0.6567 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.799, allocations: 12.42 kB / 0.6568 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.8001, allocations: 187.3 kB / 0.6569 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.8003, allocations: 56.12 kB / 0.657 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.8003, allocations: 0 / 0.657 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.8004, allocations: 13.88 kB / 0.657 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.8005, allocations: 18.28 kB / 0.657 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.8005, allocations: 0 / 0.657 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006966/0.8012, allocations: 272.9 kB / 0.6573 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.8013, allocations: 9.891 kB / 0.6573 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.8013, allocations: 9.859 kB / 0.6573 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.8017, allocations: 169.2 kB / 0.6575 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.8018, allocations: 0 / 0.6575 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.106e-06/0.8018, allocations: 0 / 0.6575 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.8018, allocations: 1.094 kB / 0.6575 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.0006149/0.8024, allocations: 374.8 kB / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.8025, allocations: 12.38 kB / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.8025, allocations: 2.531 kB / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.8026, allocations: 159.1 kB / 0.658 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.8027, allocations: 34.77 kB / 0.658 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.8027, allocations: 5.156 kB / 0.658 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.8029, allocations: 51.89 kB / 0.6581 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8029, allocations: 0 / 0.6581 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.803, allocations: 6.891 kB / 0.6581 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.803, allocations: 1.969 kB / 0.6581 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.8031, allocations: 23.34 kB / 0.6581 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.8035, allocations: 258.4 kB / 0.6584 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.234e-05/0.8035, allocations: 20.03 kB / 0.6584 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.8035, allocations: 10.27 kB / 0.6584 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.8036, allocations: 2.594 kB / 0.6584 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.8036, allocations: 34.56 kB / 0.6584 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.8036, allocations: 0 / 0.6584 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.8038, allocations: 43.53 kB / 0.6585 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.8038, allocations: 51.41 kB / 0.6585 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.8039, allocations: 104.6 kB / 0.6586 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.8039, allocations: 28.52 kB / 0.6586 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.804, allocations: 86.34 kB / 0.6587 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.804, allocations: 9.125 kB / 0.6587 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.804, allocations: 22.78 kB / 0.6587 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8042, allocations: 321 kB / 0.6591 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.8042, allocations: 8.188 kB / 0.6591 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.8042, allocations: 22.16 kB / 0.6591 GB, free: 11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.8043, allocations: 32.06 kB / 0.6591 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8043, allocations: 0 / 0.6591 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.428e-05/0.8044, allocations: 58.72 kB / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8044, allocations: 9.797 kB / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.8044, allocations: 0 / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8044, allocations: 4.016 kB / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.8045, allocations: 9.438 kB / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8045, allocations: 0 / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.8045, allocations: 6.219 kB / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.8045, allocations: 9 kB / 0.6592 GB, free: 10.92 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 9.397e-05/0.8046, allocations: 109.2 kB / 0.6593 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.8047, allocations: 3.75 kB / 0.6593 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.8048, allocations: 127.7 kB / 0.6594 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.909e-05/0.8048, allocations: 176.3 kB / 0.6596 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.33e-05/0.8049, allocations: 185 kB / 0.6598 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-05/0.805, allocations: 183.3 kB / 0.66 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.8053, allocations: 406.9 kB / 0.6603 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001017/0.8054, allocations: 111.1 kB / 0.6604 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.8055, allocations: 101 kB / 0.6605 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.8056, allocations: 180.3 kB / 0.6607 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.8058, allocations: 182.6 kB / 0.6609 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.334e-05/0.8058, allocations: 177.6 kB / 0.6611 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.736e-05/0.8059, allocations: 183.1 kB / 0.6612 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.8061, allocations: 312.2 kB / 0.6615 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.8062, allocations: 194.9 kB / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.8063, allocations: 180.2 kB / 0.6619 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.8064, allocations: 107.9 kB / 0.662 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.8065, allocations: 180 kB / 0.6622 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.8066, allocations: 103.4 kB / 0.6623 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.8066, allocations: 94.2 kB / 0.6624 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8066, allocations: 3.938 kB / 0.6624 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000382/0.807, allocations: 45.53 kB / 0.6624 GB, free: 7.543 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.0003078/0.8073, allocations: 237.3 kB / 0.6626 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.072e-05/0.8074, allocations: 7.719 kB / 0.6626 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8074, allocations: 0 / 0.6626 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.8074, allocations: 0.5625 kB / 0.6626 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.808, allocations: 0.5312 MB / 0.6632 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.8083, allocations: 186.2 kB / 0.6633 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.8086, allocations: 0.6757 MB / 0.664 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.269e-05/0.8087, allocations: 11.45 kB / 0.664 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.8087, allocations: 9.375 kB / 0.664 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.8087, allocations: 0.5938 kB / 0.664 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of Templates: time 0.003488/0.8122, allocations: 1.087 MB / 0.6651 GB, free: 5.855 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)