Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008617/0.008617, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001525/0.001525, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.609/0.609, allocations: 95.48 MB / 365.4 MB, free: 9.777 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.002166/0.002166, allocations: 71.89 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.136, allocations: 69.08 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion): time 0.4808/0.6168, allocations: 155.8 MB / 0.7232 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.84e-05/0.6169, allocations: 25.25 kB / 0.7233 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.6169, allocations: 4 kB / 0.7233 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.6171, allocations: 7.938 kB / 0.7233 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.6172, allocations: 11.92 kB / 0.7233 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.6185, allocations: 0.5168 MB / 0.7238 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.811e-05/0.6186, allocations: 31.91 kB / 0.7238 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.6187, allocations: 0 / 0.7238 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.6187, allocations: 19.86 kB / 0.7238 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.6188, allocations: 11.98 kB / 0.7239 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.6188, allocations: 4 kB / 0.7239 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009347/0.6198, allocations: 0.5691 MB / 0.7244 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.6198, allocations: 7.984 kB / 0.7244 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.6199, allocations: 11.92 kB / 0.7244 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.6205, allocations: 359.3 kB / 0.7248 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6205, allocations: 0 / 0.7248 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6205, allocations: 0 / 0.7248 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6205, allocations: 4 kB / 0.7248 GB, free: 1.113 MB / 0.5294 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.000503/0.621, allocations: 391.4 kB / 0.7251 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.6211, allocations: 11.98 kB / 0.7252 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.6211, allocations: 4.5 kB / 0.7252 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.6212, allocations: 163.1 kB / 0.7253 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/0.6213, allocations: 37.69 kB / 0.7254 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.6213, allocations: 3.938 kB / 0.7254 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.6215, allocations: 45.69 kB / 0.7254 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.6215, allocations: 0 / 0.7254 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6215, allocations: 0 / 0.7254 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.6215, allocations: 11.69 kB / 0.7254 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.506e-05/0.6216, allocations: 19.98 kB / 0.7254 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.622, allocations: 260.9 kB / 0.7257 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.622, allocations: 26.52 kB / 0.7257 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.6221, allocations: 8.797 kB / 0.7257 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.6221, allocations: 4.062 kB / 0.7257 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.6221, allocations: 34.55 kB / 0.7258 GB, free: 15.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 2.885e-06/0.6221, allocations: 0 / 0.7258 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.6223, allocations: 41.64 kB / 0.7258 GB, free: 15.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.6223, allocations: 51.53 kB / 0.7258 GB, free: 15.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.6224, allocations: 109.8 kB / 0.7259 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.6224, allocations: 33.7 kB / 0.726 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.6225, allocations: 84.05 kB / 0.7261 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.6225, allocations: 3.906 kB / 0.7261 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.6225, allocations: 17.72 kB / 0.7261 GB, free: 15.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6227, allocations: 318.8 kB / 0.7264 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.6227, allocations: 0 / 0.7264 GB, free: 15.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.6227, allocations: 34.56 kB / 0.7264 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.6228, allocations: 30.52 kB / 0.7264 GB, free: 15.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6228, allocations: 0 / 0.7264 GB, free: 15.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.452e-05/0.6229, allocations: 57.56 kB / 0.7265 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.6229, allocations: 8 kB / 0.7265 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6229, allocations: 4.094 kB / 0.7265 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6229, allocations: 0 / 0.7265 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.623, allocations: 8 kB / 0.7265 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.623, allocations: 3.984 kB / 0.7265 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.623, allocations: 7.844 kB / 0.7265 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.623, allocations: 4 kB / 0.7265 GB, free: 15.07 MB / 0.545 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.056e-05/0.6231, allocations: 109.8 kB / 0.7266 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.6232, allocations: 3.938 kB / 0.7266 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.6233, allocations: 136.8 kB / 0.7268 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.229e-05/0.6234, allocations: 176.3 kB / 0.7269 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.63e-05/0.6234, allocations: 180.2 kB / 0.7271 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/0.6235, allocations: 180.3 kB / 0.7273 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.6237, allocations: 405.2 kB / 0.7277 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.901e-05/0.6238, allocations: 112.9 kB / 0.7278 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.6238, allocations: 101 kB / 0.7279 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.654e-05/0.6239, allocations: 184.2 kB / 0.7281 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.6239, allocations: 181.1 kB / 0.7282 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-05/0.624, allocations: 180.3 kB / 0.7284 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-05/0.624, allocations: 188.1 kB / 0.7286 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.6242, allocations: 311.7 kB / 0.7289 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.6243, allocations: 178.1 kB / 0.729 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.6243, allocations: 180.3 kB / 0.7292 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.6245, allocations: 114.1 kB / 0.7293 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.6245, allocations: 184.3 kB / 0.7295 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.6246, allocations: 108.9 kB / 0.7296 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.6246, allocations: 83.28 kB / 0.7297 GB, free: 11.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6246, allocations: 0 / 0.7297 GB, free: 11.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003957/0.625, allocations: 95.92 kB / 0.7298 GB, free: 11.53 MB / 0.545 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.0006109/0.6257, allocations: 339.8 kB / 0.7301 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.377e-05/0.6258, allocations: 8 kB / 0.7301 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.6258, allocations: 3.938 kB / 0.7301 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.6258, allocations: 4 kB / 0.7301 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.6261, allocations: 470.3 kB / 0.7306 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.6264, allocations: 186.4 kB / 0.7307 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.6267, allocations: 0.6758 MB / 0.7314 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.226e-05/0.6267, allocations: 16.22 kB / 0.7314 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.6267, allocations: 11.44 kB / 0.7314 GB, free: 9.797 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.6267, allocations: 0 / 0.7314 GB, free: 9.797 MB / 0.545 GB Notification: Performance of Templates: time 0.004576/0.6313, allocations: 2.207 MB / 0.7336 GB, free: 7.605 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)