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.001158/0.001158, 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.001451/0.001451, allocations: 197 kB / 16.14 MB, free: 6.652 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.62/1.62, allocations: 205.1 MB / 222 MB, free: 4.738 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.5967/0.5967, allocations: 95.48 MB / 364.8 MB, free: 10.09 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.001481/0.001481, allocations: 63.92 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4641, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion): time 0.6019/1.066, allocations: 156.9 MB / 0.6549 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 6.226e-05/1.066, allocations: 26.16 kB / 0.6549 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/1.066, allocations: 0.5312 kB / 0.6549 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/1.066, allocations: 2.75 kB / 0.6549 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/1.066, allocations: 21.83 kB / 0.6549 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/1.068, allocations: 475.2 kB / 0.6554 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000118/1.068, allocations: 50.73 kB / 0.6554 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/1.068, allocations: 1.594 kB / 0.6554 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/1.068, allocations: 12.86 kB / 0.6554 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/1.069, allocations: 19.64 kB / 0.6555 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/1.069, allocations: 0.5938 kB / 0.6555 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.07, allocations: 0.5833 MB / 0.656 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/1.07, allocations: 4.141 kB / 0.656 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/1.07, allocations: 18.78 kB / 0.656 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007727/1.071, allocations: 401 kB / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.071, allocations: 2.469 kB / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.071, allocations: 0 / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.071, allocations: 0 / 0.6564 GB, free: 12.7 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.0005605/1.071, allocations: 412 kB / 0.6568 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.071, allocations: 14.52 kB / 0.6568 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/1.071, allocations: 0 / 0.6568 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/1.071, allocations: 161.5 kB / 0.657 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-05/1.072, allocations: 35.41 kB / 0.657 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/1.072, allocations: 2.5 kB / 0.657 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/1.072, allocations: 47.09 kB / 0.6571 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/1.072, allocations: 3.938 kB / 0.6571 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.072, allocations: 0 / 0.6571 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/1.072, allocations: 3.688 kB / 0.6571 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/1.072, allocations: 32.98 kB / 0.6571 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/1.072, allocations: 255.5 kB / 0.6574 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/1.072, allocations: 27.42 kB / 0.6574 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/1.072, allocations: 7.547 kB / 0.6574 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/1.072, allocations: 2.844 kB / 0.6574 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/1.072, allocations: 30.56 kB / 0.6574 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.072, allocations: 0 / 0.6574 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000155/1.073, allocations: 40.66 kB / 0.6575 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/1.073, allocations: 62.44 kB / 0.6575 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/1.073, allocations: 104.4 kB / 0.6576 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/1.073, allocations: 26.8 kB / 0.6576 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/1.073, allocations: 89.39 kB / 0.6577 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/1.073, allocations: 7.844 kB / 0.6577 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/1.073, allocations: 18.53 kB / 0.6578 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.073, allocations: 317 kB / 0.6581 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/1.073, allocations: 6.312 kB / 0.6581 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/1.073, allocations: 29.91 kB / 0.6581 GB, free: 11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/1.073, allocations: 31.91 kB / 0.6581 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.073, allocations: 0 / 0.6581 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.485e-05/1.073, allocations: 54.83 kB / 0.6582 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.073, allocations: 9.578 kB / 0.6582 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.073, allocations: 2.578 kB / 0.6582 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.073, allocations: 0 / 0.6582 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/1.073, allocations: 8 kB / 0.6582 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.073, allocations: 3.938 kB / 0.6582 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/1.073, allocations: 6.188 kB / 0.6582 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/1.073, allocations: 3.812 kB / 0.6582 GB, free: 10.93 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 0.0001547/1.073, allocations: 114.7 kB / 0.6583 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/1.074, allocations: 0 / 0.6583 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/1.074, allocations: 129.7 kB / 0.6584 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.734e-05/1.074, allocations: 182.7 kB / 0.6586 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.4e-05/1.074, allocations: 180 kB / 0.6588 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/1.074, allocations: 178.8 kB / 0.659 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/1.074, allocations: 420.9 kB / 0.6594 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.424e-05/1.074, allocations: 103.5 kB / 0.6595 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/1.074, allocations: 111.5 kB / 0.6596 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-05/1.074, allocations: 180 kB / 0.6597 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/1.074, allocations: 180.2 kB / 0.6599 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.357e-05/1.075, allocations: 182.1 kB / 0.6601 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.199e-05/1.075, allocations: 180.3 kB / 0.6602 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/1.075, allocations: 310.7 kB / 0.6605 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/1.075, allocations: 182 kB / 0.6607 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/1.075, allocations: 182.2 kB / 0.6609 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/1.075, allocations: 103.8 kB / 0.661 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/1.075, allocations: 190.1 kB / 0.6612 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/1.075, allocations: 105 kB / 0.6613 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.587e-05/1.075, allocations: 85.53 kB / 0.6614 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.075, allocations: 0 / 0.6614 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004584/1.076, allocations: 105.7 kB / 0.6615 GB, free: 7.539 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.0008604/1.077, allocations: 367 kB / 0.6618 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.033e-05/1.077, allocations: 12.31 kB / 0.6618 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.077, allocations: 0 / 0.6618 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/1.077, allocations: 0.5312 kB / 0.6618 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/1.077, allocations: 0.5328 MB / 0.6623 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/1.078, allocations: 185.6 kB / 0.6625 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/1.078, allocations: 0.6751 MB / 0.6632 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.555e-05/1.078, allocations: 10.69 kB / 0.6632 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/1.078, allocations: 10.47 kB / 0.6632 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/1.078, allocations: 0 / 0.6632 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of Templates: time 0.005057/1.083, allocations: 2.28 MB / 0.6654 GB, free: 5.691 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirTemperatureEnthalpyInversion.makefile (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)