Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008905, allocations: 86.95 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.0008534/0.0008535, 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.776/1.776, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.6962/0.6962, allocations: 95.62 MB / 366 MB, free: 10.38 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.0005843/0.0005845, allocations: 16.2 kB / 446.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4527, allocations: 70.33 MB / 0.5051 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion): time 0.6584/1.111, allocations: 144.2 MB / 0.6459 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 5.908e-05/1.111, allocations: 33.66 kB / 0.6459 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/1.111, allocations: 0 / 0.6459 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/1.111, allocations: 4.906 kB / 0.6459 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/1.112, allocations: 17.48 kB / 0.6459 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/1.113, allocations: 430.8 kB / 0.6463 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.757e-05/1.113, allocations: 37.88 kB / 0.6464 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/1.113, allocations: 5.203 kB / 0.6464 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/1.113, allocations: 15.06 kB / 0.6464 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/1.113, allocations: 13.92 kB / 0.6464 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/1.113, allocations: 0.7188 kB / 0.6464 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/1.115, allocations: 0.5041 MB / 0.6469 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/1.115, allocations: 9.734 kB / 0.6469 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/1.115, allocations: 30.73 kB / 0.6469 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000475/1.115, allocations: 250.7 kB / 0.6472 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.115, allocations: 0.9375 kB / 0.6472 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.115, allocations: 2.734 kB / 0.6472 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.96e-06/1.115, allocations: 0 / 0.6472 GB, free: 17.06 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.0005062/1.116, allocations: 399.2 kB / 0.6476 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.116, allocations: 13.48 kB / 0.6476 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/1.116, allocations: 4.125 kB / 0.6476 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.116, allocations: 170.4 kB / 0.6477 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/1.116, allocations: 27.42 kB / 0.6478 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/1.116, allocations: 4.281 kB / 0.6478 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/1.116, allocations: 48 kB / 0.6478 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.116, allocations: 3.984 kB / 0.6478 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/1.116, allocations: 0 / 0.6478 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/1.116, allocations: 2.25 kB / 0.6478 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/1.116, allocations: 31.62 kB / 0.6479 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/1.117, allocations: 264.3 kB / 0.6481 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.788e-05/1.117, allocations: 24.52 kB / 0.6481 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/1.117, allocations: 6.734 kB / 0.6481 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/1.117, allocations: 1.875 kB / 0.6481 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/1.117, allocations: 34.03 kB / 0.6482 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/1.117, allocations: 0 / 0.6482 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000154/1.117, allocations: 47 kB / 0.6482 GB, free: 16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.117, allocations: 53.94 kB / 0.6483 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/1.117, allocations: 103.9 kB / 0.6484 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.117, allocations: 25.7 kB / 0.6484 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/1.117, allocations: 87.45 kB / 0.6485 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.852e-06/1.117, allocations: 3.625 kB / 0.6485 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.117, allocations: 4.25 kB / 0.6485 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.117, allocations: 311.6 kB / 0.6488 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/1.118, allocations: 8.219 kB / 0.6488 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/1.118, allocations: 24.94 kB / 0.6488 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/1.118, allocations: 5.594 kB / 0.6488 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.118, allocations: 2.625 kB / 0.6488 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.288e-05/1.118, allocations: 61.22 kB / 0.6489 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.118, allocations: 7.688 kB / 0.6489 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.118, allocations: 5.281 kB / 0.6489 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/1.118, allocations: 1.094 kB / 0.6489 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/1.118, allocations: 15.23 kB / 0.6489 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.118, allocations: 8.281 kB / 0.6489 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/1.118, allocations: 1.75 kB / 0.6489 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/1.118, allocations: 3.25 kB / 0.6489 GB, free: 15.34 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.738e-05/1.118, allocations: 112.2 kB / 0.649 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/1.118, allocations: 0 / 0.649 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/1.118, allocations: 129.6 kB / 0.6492 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/1.118, allocations: 179.6 kB / 0.6493 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-05/1.118, allocations: 189.2 kB / 0.6495 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.885e-05/1.118, allocations: 178.7 kB / 0.6497 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/1.119, allocations: 406.2 kB / 0.6501 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/1.119, allocations: 108.3 kB / 0.6502 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/1.119, allocations: 105.3 kB / 0.6503 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.979e-05/1.119, allocations: 180.8 kB / 0.6504 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/1.119, allocations: 179.7 kB / 0.6506 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.431e-05/1.119, allocations: 184.4 kB / 0.6508 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.371e-05/1.119, allocations: 184.2 kB / 0.651 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/1.119, allocations: 313.6 kB / 0.6513 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/1.119, allocations: 185.2 kB / 0.6514 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.119, allocations: 184.3 kB / 0.6516 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/1.119, allocations: 103.2 kB / 0.6517 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/1.12, allocations: 191 kB / 0.6519 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/1.12, allocations: 104.8 kB / 0.652 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.421e-05/1.12, allocations: 85.92 kB / 0.6521 GB, free: 12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.12, allocations: 3.031 kB / 0.6521 GB, free: 12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004443/1.12, allocations: 105.2 kB / 0.6522 GB, free: 11.97 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.0007407/1.121, allocations: 362.2 kB / 0.6525 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.187e-05/1.121, allocations: 10.59 kB / 0.6525 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.121, allocations: 1.406 kB / 0.6525 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.121, allocations: 3.938 kB / 0.6525 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/1.121, allocations: 0.524 MB / 0.6531 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/1.122, allocations: 192.3 kB / 0.6532 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/1.122, allocations: 0.6716 MB / 0.6539 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.297e-05/1.122, allocations: 11.98 kB / 0.6539 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/1.122, allocations: 10.28 kB / 0.6539 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/1.122, allocations: 0 / 0.6539 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.005521/1.128, allocations: 2.212 MB / 0.6561 GB, free: 10.14 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: