Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 289.7 MB / 302.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 187.1 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009307/0.0009306, allocations: 91.28 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.62e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3027, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.398/6.701, allocations: 2.129 GB / 3.109 GB, free: 65.08 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/6.701, allocations: 97.05 kB / 3.109 GB, free: 65.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.568/15.27, allocations: 2.07 GB / 5.178 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.833e-06/15.27, allocations: 3.906 kB / 5.178 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002761/15.27, allocations: 57.06 kB / 5.179 GB, free: 103.9 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.008196/15.28, allocations: 2.442 MB / 5.181 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/15.28, allocations: 11.81 kB / 5.181 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/15.28, allocations: 0.7803 MB / 5.182 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006691/15.29, allocations: 2.208 MB / 5.184 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/15.29, allocations: 105.9 kB / 5.184 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/15.29, allocations: 147.7 kB / 5.184 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/15.29, allocations: 1.515 MB / 5.186 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/15.29, allocations: 0 / 5.186 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/15.29, allocations: 61.42 kB / 5.186 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/15.29, allocations: 44.62 kB / 5.186 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/15.3, allocations: 1.135 MB / 5.187 GB, free: 102.1 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009893/15.31, allocations: 7.411 MB / 5.194 GB, free: 98.21 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/15.31, allocations: 1.36 MB / 5.195 GB, free: 97.52 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/15.31, allocations: 417.1 kB / 5.196 GB, free: 97.51 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/15.31, allocations: 0.7505 MB / 5.196 GB, free: 96.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007486/15.31, allocations: 482.8 kB / 5.197 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/15.31, allocations: 130.1 kB / 5.197 GB, free: 96.67 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 3.727e-06/15.31, allocations: 0 / 5.197 GB, free: 96.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.001975/15.31, allocations: 0.9205 MB / 5.198 GB, free: 96.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/15.31, allocations: 175.6 kB / 5.198 GB, free: 96.33 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/15.31, allocations: 1.337 MB / 5.199 GB, free: 96.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.89e-05/15.31, allocations: 49.7 kB / 5.199 GB, free: 96.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007634/15.32, allocations: 0.9305 MB / 5.2 GB, free: 95.75 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/15.32, allocations: 297.8 kB / 5.201 GB, free: 95.57 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/15.32, allocations: 26.23 kB / 5.201 GB, free: 95.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/15.32, allocations: 345.9 kB / 5.201 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005287/15.32, allocations: 344.7 kB / 5.201 GB, free: 95.26 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/15.32, allocations: 0.7383 MB / 5.202 GB, free: 94.81 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/15.32, allocations: 484.9 kB / 5.203 GB, free: 94.76 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/15.32, allocations: 6.5 kB / 5.203 GB, free: 94.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001849/15.32, allocations: 1.236 MB / 5.204 GB, free: 94.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008027/15.32, allocations: 3.493 MB / 5.207 GB, free: 90.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/15.32, allocations: 10.69 kB / 5.207 GB, free: 90.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/15.32, allocations: 15.66 kB / 5.207 GB, free: 90.94 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/15.32, allocations: 260.8 kB / 5.207 GB, free: 90.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/15.32, allocations: 19.91 kB / 5.207 GB, free: 90.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/15.32, allocations: 144.7 kB / 5.208 GB, free: 90.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/15.32, allocations: 56.91 kB / 5.208 GB, free: 90.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/15.32, allocations: 2.344 kB / 5.208 GB, free: 90.93 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001597/15.33, allocations: 1.058 MB / 5.209 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/15.33, allocations: 13.83 kB / 5.209 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/15.33, allocations: 14 kB / 5.209 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/15.33, allocations: 256.4 kB / 5.209 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/15.33, allocations: 25.72 kB / 5.209 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/15.33, allocations: 136.4 kB / 5.209 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/15.33, allocations: 60.25 kB / 5.209 GB, free: 90.88 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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 0.0003506/15.33, allocations: 184 kB / 5.209 GB, free: 90.76 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/15.33, allocations: 180.8 kB / 5.21 GB, free: 90.67 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/15.33, allocations: 0.9827 MB / 5.21 GB, free: 90.58 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/15.33, allocations: 10.34 kB / 5.21 GB, free: 90.58 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/15.33, allocations: 6.578 kB / 5.211 GB, free: 90.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/15.33, allocations: 1.056 MB / 5.212 GB, free: 90.11 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/15.34, allocations: 2.677 MB / 5.214 GB, free: 89.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/15.34, allocations: 3.516 kB / 5.214 GB, free: 89.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/15.34, allocations: 173.3 kB / 5.214 GB, free: 89.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/15.34, allocations: 60.39 kB / 5.214 GB, free: 89.53 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/15.34, allocations: 20.39 kB / 5.214 GB, free: 89.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/15.34, allocations: 1.414 MB / 5.216 GB, free: 88.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/15.34, allocations: 2.031 kB / 5.216 GB, free: 88.27 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/15.34, allocations: 1.559 MB / 5.217 GB, free: 87.87 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/15.34, allocations: 341.7 kB / 5.218 GB, free: 87.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/15.34, allocations: 25.22 kB / 5.218 GB, free: 87.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/15.35, allocations: 140 kB / 5.218 GB, free: 87.67 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/15.35, allocations: 59.11 kB / 5.218 GB, free: 87.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/15.35, allocations: 39.95 kB / 5.218 GB, free: 87.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002268/15.35, allocations: 1.03 MB / 5.219 GB, free: 87.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.41e-07/15.35, allocations: 2.719 kB / 5.219 GB, free: 87.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005864/15.35, allocations: 1.321 MB / 5.22 GB, free: 87.33 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006989/15.36, allocations: 3.604 MB / 5.224 GB, free: 85.89 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003279/15.36, allocations: 1.65 MB / 5.225 GB, free: 85.67 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/15.36, allocations: 2.812 kB / 5.225 GB, free: 85.67 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/15.37, allocations: 0.5212 MB / 5.226 GB, free: 85.55 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/15.37, allocations: 0.7951 MB / 5.227 GB, free: 85.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/15.38, allocations: 2.862 MB / 5.229 GB, free: 84.77 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/15.38, allocations: 1.539 MB / 5.231 GB, free: 84.04 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003956/15.38, allocations: 0.6593 MB / 5.232 GB, free: 84.02 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/15.39, allocations: 111.1 kB / 5.232 GB, free: 84.01 MB / 0.9948 GB Notification: Performance of SimCode: time 9.92e-07/15.39, allocations: 0 / 5.232 GB, free: 84.01 MB / 0.9948 GB Notification: Performance of Templates: time 0.109/15.49, allocations: 73.31 MB / 5.303 GB, free: 79.57 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)