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.0009724/0.0009724, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009442/0.0009444, allocations: 177.3 kB / 15.95 MB, free: 216 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.331/1.331, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.5593/0.5593, allocations: 95.58 MB / 366 MB, free: 10.39 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.0008832/0.0008834, allocations: 12 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3429, allocations: 70.33 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion): time 0.3877/0.7306, allocations: 130.6 MB / 0.6325 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.7323, allocations: 1.561 MB / 0.634 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.7324, allocations: 1.781 kB / 0.634 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.7325, allocations: 3.922 kB / 0.634 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.7325, allocations: 5.875 kB / 0.634 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.7339, allocations: 439.4 kB / 0.6344 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.734, allocations: 19.84 kB / 0.6345 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.734, allocations: 4.844 kB / 0.6345 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.734, allocations: 14.03 kB / 0.6345 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.7341, allocations: 8.547 kB / 0.6345 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.7341, allocations: 1.094 kB / 0.6345 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.7352, allocations: 0.5371 MB / 0.635 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.7353, allocations: 9.328 kB / 0.635 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.7353, allocations: 28.3 kB / 0.6351 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.7358, allocations: 241.8 kB / 0.6353 GB, free: 1.828 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.7358, allocations: 4 kB / 0.6353 GB, free: 1.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7358, allocations: 0 / 0.6353 GB, free: 1.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.7358, allocations: 3.125 kB / 0.6353 GB, free: 1.824 MB / 494.1 MB 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.0005344/0.7364, allocations: 403.5 kB / 0.6357 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.7364, allocations: 13.95 kB / 0.6357 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.7364, allocations: 5.188 kB / 0.6357 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.7366, allocations: 169 kB / 0.6359 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.7366, allocations: 27.33 kB / 0.6359 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.7366, allocations: 4.781 kB / 0.6359 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.7368, allocations: 48.84 kB / 0.6359 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.7368, allocations: 0 / 0.6359 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7368, allocations: 1.031 kB / 0.6359 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.7368, allocations: 5.547 kB / 0.6359 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.745e-05/0.7369, allocations: 26.53 kB / 0.636 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.7373, allocations: 263.4 kB / 0.6362 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/0.7374, allocations: 21.36 kB / 0.6362 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.7374, allocations: 2.031 kB / 0.6362 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.7375, allocations: 33.42 kB / 0.6363 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.7375, allocations: 0 / 0.6363 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001944/0.7377, allocations: 51.08 kB / 0.6363 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.7377, allocations: 52.16 kB / 0.6364 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.7379, allocations: 102 kB / 0.6365 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.7379, allocations: 26.67 kB / 0.6365 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.738, allocations: 90.67 kB / 0.6366 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-06/0.738, allocations: 1.375 kB / 0.6366 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.738, allocations: 3.812 kB / 0.6366 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7381, allocations: 314.1 kB / 0.6369 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.7382, allocations: 6.734 kB / 0.6369 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.7382, allocations: 24.55 kB / 0.6369 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.7383, allocations: 10.09 kB / 0.6369 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7383, allocations: 4.906 kB / 0.6369 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001393/0.7384, allocations: 58.62 kB / 0.637 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.7385, allocations: 6.344 kB / 0.637 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7385, allocations: 0.6875 kB / 0.637 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7385, allocations: 1.406 kB / 0.637 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.7386, allocations: 11.11 kB / 0.637 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7386, allocations: 5.984 kB / 0.637 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.7386, allocations: 8.969 kB / 0.637 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.7386, allocations: 2.344 kB / 0.637 GB, free: 16.11 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 7.422e-05/0.7387, allocations: 112.7 kB / 0.6371 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.7387, allocations: 2.969 kB / 0.6371 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.7388, allocations: 127.3 kB / 0.6373 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.044e-05/0.7389, allocations: 176.9 kB / 0.6374 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-05/0.7389, allocations: 189.6 kB / 0.6376 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.377e-05/0.739, allocations: 184.5 kB / 0.6378 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.7392, allocations: 403.9 kB / 0.6382 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.7392, allocations: 104.8 kB / 0.6383 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.7393, allocations: 105.4 kB / 0.6384 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.293e-05/0.7393, allocations: 187.3 kB / 0.6385 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.7394, allocations: 176.8 kB / 0.6387 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-05/0.7394, allocations: 182 kB / 0.6389 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.683e-05/0.7395, allocations: 176.8 kB / 0.6391 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.7396, allocations: 319.1 kB / 0.6394 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.7397, allocations: 185.6 kB / 0.6395 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.7398, allocations: 179.7 kB / 0.6397 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.7399, allocations: 107.5 kB / 0.6398 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.74, allocations: 181.6 kB / 0.64 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.74, allocations: 106.5 kB / 0.6401 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.7401, allocations: 85.33 kB / 0.6402 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7401, allocations: 0 / 0.6402 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004636/0.7405, allocations: 103.5 kB / 0.6403 GB, free: 12.76 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.0007035/0.7413, allocations: 376.1 kB / 0.6406 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.7413, allocations: 16.91 kB / 0.6406 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7414, allocations: 0 / 0.6406 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.7414, allocations: 5.922 kB / 0.6406 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.7417, allocations: 0.5208 MB / 0.6411 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.742, allocations: 187.2 kB / 0.6413 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.7422, allocations: 0.6795 MB / 0.642 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.993e-05/0.7423, allocations: 7.078 kB / 0.642 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.7423, allocations: 10.23 kB / 0.642 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.7423, allocations: 4 kB / 0.642 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.005178/0.7475, allocations: 2.214 MB / 0.6442 GB, free: 10.93 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: