Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 92.22 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009054/0.0009054, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.935/0.935, allocations: 177.1 MB / 204.2 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6361/0.6361, allocations: 115 MB / 375.7 MB, free: 7.586 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 1.625 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.848e-05, allocations: 4.438 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1489/0.149, allocations: 143.7 MB / 0.6106 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.1491, allocations: 51.8 kB / 0.6106 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.1491, allocations: 0 / 0.6106 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.1493, allocations: 3.938 kB / 0.6106 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.1494, allocations: 19.91 kB / 0.6106 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.1501, allocations: 115.5 kB / 0.6107 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.1502, allocations: 39.84 kB / 0.6108 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.1503, allocations: 3.984 kB / 0.6108 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.1503, allocations: 23.92 kB / 0.6108 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.1504, allocations: 11.97 kB / 0.6108 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1504, allocations: 4 kB / 0.6108 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.1507, allocations: 75.67 kB / 0.6109 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.1507, allocations: 4 kB / 0.6109 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.1507, allocations: 15.98 kB / 0.6109 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1509, allocations: 75.72 kB / 0.611 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1509, allocations: 4 kB / 0.611 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1509, allocations: 0 / 0.611 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1509, allocations: 0 / 0.611 GB, free: 7.574 MB / 0.5261 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.0003509/0.1513, allocations: 360.6 kB / 0.6113 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1513, allocations: 12.61 kB / 0.6113 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.1515, allocations: 24.86 kB / 0.6114 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.94e-05/0.1516, allocations: 112.6 kB / 0.6115 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.1516, allocations: 59.91 kB / 0.6115 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1517, allocations: 8.125 kB / 0.6115 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1518, allocations: 76.09 kB / 0.6116 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1518, allocations: 4 kB / 0.6116 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1518, allocations: 3.984 kB / 0.6116 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.1518, allocations: 0 / 0.6116 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.1519, allocations: 8 kB / 0.6116 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.1522, allocations: 263.7 kB / 0.6119 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.916e-05/0.1522, allocations: 35 kB / 0.6119 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.1522, allocations: 11.69 kB / 0.6119 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-06/0.1522, allocations: 0 / 0.6119 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1523, allocations: 45.39 kB / 0.612 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1523, allocations: 0 / 0.612 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.1524, allocations: 33.69 kB / 0.612 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1524, allocations: 55.34 kB / 0.612 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.1525, allocations: 169.9 kB / 0.6122 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1525, allocations: 25.7 kB / 0.6122 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.1526, allocations: 146.8 kB / 0.6124 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.1526, allocations: 4.125 kB / 0.6124 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1526, allocations: 19.38 kB / 0.6124 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1528, allocations: 0.4883 MB / 0.6129 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.1528, allocations: 7.984 kB / 0.6129 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.1528, allocations: 27.06 kB / 0.6129 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.1528, allocations: 39 kB / 0.6129 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1528, allocations: 0 / 0.6129 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.032e-05/0.1529, allocations: 61.58 kB / 0.613 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1529, allocations: 4 kB / 0.613 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1529, allocations: 0 / 0.613 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.153, allocations: 4 kB / 0.613 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.153, allocations: 4 kB / 0.613 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.153, allocations: 0 / 0.613 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.153, allocations: 7.938 kB / 0.613 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.153, allocations: 0 / 0.613 GB, free: 5.238 MB / 0.5261 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 6.837e-05/0.1531, allocations: 168.5 kB / 0.6132 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.1531, allocations: 0 / 0.6132 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.1532, allocations: 7.25 kB / 0.6132 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1532, allocations: 4 kB / 0.6132 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1532, allocations: 0 / 0.6132 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1532, allocations: 0 / 0.6132 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1534, allocations: 400.3 kB / 0.6136 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1534, allocations: 0 / 0.6136 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.1534, allocations: 0 / 0.6136 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1534, allocations: 4 kB / 0.6136 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1534, allocations: 0 / 0.6136 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1534, allocations: 0 / 0.6136 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1534, allocations: 0 / 0.6136 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.272e-05/0.1534, allocations: 88.3 kB / 0.6137 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.1534, allocations: 8.016 kB / 0.6137 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1534, allocations: 0 / 0.6137 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.1535, allocations: 4 kB / 0.6137 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.1535, allocations: 3.984 kB / 0.6137 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1535, allocations: 3.938 kB / 0.6137 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.1535, allocations: 131.4 kB / 0.6138 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.1535, allocations: 0 / 0.6138 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001202/0.1537, allocations: 8 kB / 0.6138 GB, free: 4.344 MB / 0.5261 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 (1): * Single equations (assignments): 1 * 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 7.455e-05/0.1537, allocations: 99.28 kB / 0.6139 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.056e-05/0.1538, allocations: 23.61 kB / 0.6139 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1538, allocations: 0 / 0.6139 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-06/0.1538, allocations: 7.688 kB / 0.6139 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.154, allocations: 14.25 kB / 0.614 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.1544, allocations: 118.6 kB / 0.6141 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.227e-05/0.1544, allocations: 63.23 kB / 0.6141 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.1544, allocations: 4 kB / 0.6141 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.1545, allocations: 8.5 kB / 0.6141 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.1545, allocations: 0 / 0.6141 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of Templates: time 0.001986/0.1564, allocations: 0.5657 MB / 0.6147 GB, free: 3.426 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.798099552281201]