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.000815/0.000815, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008302/0.0008302, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.6808/0.6808, allocations: 95.63 MB / 366 MB, free: 10.36 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.0006274/0.0006275, allocations: 16 kB / 446.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4552, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.612/1.067, allocations: 146 MB / 0.6476 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001557/1.067, allocations: 129 kB / 0.6478 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/1.068, allocations: 0 / 0.6478 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/1.068, allocations: 4.062 kB / 0.6478 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/1.068, allocations: 11.7 kB / 0.6478 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/1.068, allocations: 172.1 kB / 0.6479 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/1.069, allocations: 45.56 kB / 0.648 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.486e-05/1.069, allocations: 4 kB / 0.648 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/1.069, allocations: 10 kB / 0.648 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/1.069, allocations: 17.41 kB / 0.648 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/1.069, allocations: 2.156 kB / 0.648 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/1.069, allocations: 219.7 kB / 0.6482 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/1.069, allocations: 16.59 kB / 0.6482 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/1.07, allocations: 29.05 kB / 0.6483 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/1.07, allocations: 103.2 kB / 0.6484 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.07, allocations: 0 / 0.6484 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/1.07, allocations: 6.375 kB / 0.6484 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.708e-06/1.07, allocations: 0 / 0.6484 GB, free: 17.01 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.000477/1.07, allocations: 356.6 kB / 0.6487 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.07, allocations: 10 kB / 0.6487 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/1.07, allocations: 5.297 kB / 0.6487 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.071, allocations: 163.1 kB / 0.6489 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/1.071, allocations: 33.05 kB / 0.6489 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/1.071, allocations: 1.25 kB / 0.6489 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/1.071, allocations: 50.27 kB / 0.649 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.071, allocations: 1 kB / 0.649 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.071, allocations: 0 / 0.649 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/1.071, allocations: 2.344 kB / 0.649 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/1.071, allocations: 21.81 kB / 0.649 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/1.072, allocations: 356.2 kB / 0.6493 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/1.072, allocations: 18.48 kB / 0.6493 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/1.072, allocations: 9.734 kB / 0.6494 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/1.072, allocations: 1.938 kB / 0.6494 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/1.072, allocations: 35.59 kB / 0.6494 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.072, allocations: 1.641 kB / 0.6494 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000157/1.072, allocations: 45.81 kB / 0.6494 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/1.072, allocations: 51.41 kB / 0.6495 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/1.072, allocations: 103.5 kB / 0.6496 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/1.072, allocations: 25.7 kB / 0.6496 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/1.072, allocations: 92.94 kB / 0.6497 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/1.072, allocations: 3.812 kB / 0.6497 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.072, allocations: 1.812 kB / 0.6497 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.072, allocations: 314.8 kB / 0.65 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/1.072, allocations: 9.109 kB / 0.65 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/1.072, allocations: 28.06 kB / 0.65 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/1.072, allocations: 9.922 kB / 0.65 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.072, allocations: 0 / 0.65 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.315e-05/1.073, allocations: 64.25 kB / 0.6501 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.073, allocations: 5.438 kB / 0.6501 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.073, allocations: 3.375 kB / 0.6501 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.073, allocations: 5.578 kB / 0.6501 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/1.073, allocations: 13.28 kB / 0.6501 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/1.073, allocations: 0 / 0.6501 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/1.073, allocations: 1.875 kB / 0.6501 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.073, allocations: 3.062 kB / 0.6501 GB, free: 15.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/1.073, allocations: 115 kB / 0.6502 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/1.073, allocations: 1.656 kB / 0.6503 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/1.073, allocations: 122.4 kB / 0.6504 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/1.073, allocations: 179.6 kB / 0.6505 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.428e-05/1.073, allocations: 187.2 kB / 0.6507 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.672e-05/1.073, allocations: 176.9 kB / 0.6509 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/1.073, allocations: 412.5 kB / 0.6513 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.606e-05/1.074, allocations: 108.2 kB / 0.6514 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/1.074, allocations: 102.5 kB / 0.6515 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-05/1.074, allocations: 184.1 kB / 0.6517 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/1.074, allocations: 176.3 kB / 0.6518 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.54e-05/1.074, allocations: 183.8 kB / 0.652 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.251e-05/1.074, allocations: 180.2 kB / 0.6522 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/1.074, allocations: 316.9 kB / 0.6525 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/1.074, allocations: 186.1 kB / 0.6527 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/1.074, allocations: 180.3 kB / 0.6528 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.074, allocations: 109.2 kB / 0.6529 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/1.074, allocations: 182.6 kB / 0.6531 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/1.075, allocations: 108.6 kB / 0.6532 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.419e-05/1.075, allocations: 87.86 kB / 0.6533 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.075, allocations: 0 / 0.6533 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003619/1.075, allocations: 46.16 kB / 0.6533 GB, free: 11.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002989/1.075, allocations: 227 kB / 0.6535 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.087e-05/1.075, allocations: 17.94 kB / 0.6536 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.075, allocations: 0 / 0.6536 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/1.075, allocations: 4.094 kB / 0.6536 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/1.076, allocations: 0.5202 MB / 0.6541 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/1.076, allocations: 196.9 kB / 0.6543 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/1.076, allocations: 0.6798 MB / 0.6549 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.348e-05/1.077, allocations: 7.062 kB / 0.6549 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/1.077, allocations: 9.594 kB / 0.6549 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/1.077, allocations: 0.75 kB / 0.6549 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.003674/1.08, allocations: 1.047 MB / 0.656 GB, free: 10.18 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: