Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 293 MB / 309 MB, free: 4.789 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.001035/0.001035, allocations: 180.5 kB / 378.7 MB, free: 1.004 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.795/1.795, allocations: 205.4 MB / 0.6383 GB, free: 8.199 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.0009146/0.0009147, allocations: 100.6 kB / 0.7527 GB, free: 62.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004136, allocations: 20 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2915, allocations: 116.4 MB / 0.9904 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.325/5.616, allocations: 2.123 GB / 3.113 GB, free: 89.37 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/5.616, allocations: 97.16 kB / 3.113 GB, free: 89.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.848/13.46, allocations: 1.958 GB / 5.071 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.627e-06/13.46, allocations: 0 / 5.071 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004287/13.47, allocations: 64.66 kB / 5.072 GB, free: 105.8 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: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.01051/13.48, allocations: 3.105 MB / 5.075 GB, free: 105 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/13.48, allocations: 10.28 kB / 5.075 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005598/13.48, allocations: 0.801 MB / 5.075 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006244/13.49, allocations: 2.405 MB / 5.078 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/13.49, allocations: 119 kB / 5.078 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/13.49, allocations: 169.6 kB / 5.078 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/13.49, allocations: 1.801 MB / 5.08 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/13.49, allocations: 3.938 kB / 5.08 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/13.49, allocations: 70.8 kB / 5.08 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/13.49, allocations: 52.19 kB / 5.08 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/13.49, allocations: 1.458 MB / 5.081 GB, free: 104.2 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01107/13.51, allocations: 8.08 MB / 5.089 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/13.51, allocations: 1.75 MB / 5.091 GB, free: 99.58 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/13.51, allocations: 0.6185 MB / 5.091 GB, free: 99.57 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/13.51, allocations: 210.2 kB / 5.092 GB, free: 99.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/13.51, allocations: 0.6388 MB / 5.092 GB, free: 99.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00134/13.51, allocations: 117.3 kB / 5.092 GB, free: 99.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=102): time 5.05e-06/13.51, allocations: 0 / 5.092 GB, free: 99.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.007452/13.52, allocations: 3.452 MB / 5.096 GB, free: 98.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/13.52, allocations: 171 kB / 5.096 GB, free: 98.33 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/13.52, allocations: 1.55 MB / 5.097 GB, free: 98.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/13.52, allocations: 53.64 kB / 5.098 GB, free: 98.08 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008567/13.52, allocations: 0.9737 MB / 5.098 GB, free: 97.82 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/13.52, allocations: 372.4 kB / 5.099 GB, free: 97.64 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/13.52, allocations: 19.16 kB / 5.099 GB, free: 97.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001035/13.52, allocations: 356.8 kB / 5.099 GB, free: 97.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008975/13.52, allocations: 497.2 kB / 5.1 GB, free: 97.33 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/13.53, allocations: 0.8727 MB / 5.101 GB, free: 96.91 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009968/13.54, allocations: 3.535 MB / 5.104 GB, free: 96.41 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/13.54, allocations: 2.531 kB / 5.104 GB, free: 96.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003089/13.54, allocations: 1.588 MB / 5.106 GB, free: 96.22 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/13.54, allocations: 353.7 kB / 5.106 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/13.54, allocations: 13.31 kB / 5.106 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/13.54, allocations: 47.75 kB / 5.106 GB, free: 95.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/13.54, allocations: 284.8 kB / 5.106 GB, free: 95.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009936/13.54, allocations: 1.5 MB / 5.108 GB, free: 94.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/13.54, allocations: 155.8 kB / 5.108 GB, free: 94.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/13.54, allocations: 58.55 kB / 5.108 GB, free: 94.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/13.54, allocations: 10.09 kB / 5.108 GB, free: 94.48 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002345/13.55, allocations: 1.403 MB / 5.109 GB, free: 94.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/13.55, allocations: 6.75 kB / 5.109 GB, free: 94.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/13.55, allocations: 44.55 kB / 5.109 GB, free: 94.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/13.55, allocations: 282.1 kB / 5.11 GB, free: 94.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/13.55, allocations: 1.505 MB / 5.111 GB, free: 93.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/13.55, allocations: 157.8 kB / 5.111 GB, free: 93.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/13.55, allocations: 57.48 kB / 5.111 GB, free: 93.07 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.T_start,$PRE.TSet.count,$whenCondition1,TSet.T_start,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 144 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001414/13.55, allocations: 0.5879 MB / 5.112 GB, free: 92.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/13.55, allocations: 198.1 kB / 5.112 GB, free: 92.78 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/13.55, allocations: 1.363 MB / 5.113 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/13.55, allocations: 15.69 kB / 5.113 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/13.55, allocations: 3.938 kB / 5.113 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001869/13.56, allocations: 1.098 MB / 5.114 GB, free: 92.57 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006228/13.56, allocations: 3.473 MB / 5.118 GB, free: 91.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/13.56, allocations: 2.688 kB / 5.118 GB, free: 91.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/13.56, allocations: 228.3 kB / 5.118 GB, free: 91.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/13.56, allocations: 69.94 kB / 5.118 GB, free: 91.88 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/13.56, allocations: 37.11 kB / 5.118 GB, free: 91.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/13.56, allocations: 2.748 MB / 5.121 GB, free: 89.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/13.56, allocations: 2.688 kB / 5.121 GB, free: 89.38 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/13.57, allocations: 2.065 MB / 5.123 GB, free: 89.05 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008918/13.57, allocations: 384.9 kB / 5.123 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/13.57, allocations: 25.67 kB / 5.123 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/13.57, allocations: 153.7 kB / 5.123 GB, free: 88.85 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/13.57, allocations: 73.5 kB / 5.123 GB, free: 88.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/13.57, allocations: 39.16 kB / 5.123 GB, free: 88.85 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001591/13.57, allocations: 1.033 MB / 5.124 GB, free: 88.71 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/13.57, allocations: 0 / 5.124 GB, free: 88.71 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004817/13.58, allocations: 1.293 MB / 5.126 GB, free: 88.66 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005395/13.58, allocations: 3.501 MB / 5.129 GB, free: 87.32 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004093/13.59, allocations: 2.351 MB / 5.131 GB, free: 86.88 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/13.59, allocations: 448 / 5.131 GB, free: 86.88 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/13.59, allocations: 0.8102 MB / 5.132 GB, free: 86.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/13.59, allocations: 0.9688 MB / 5.133 GB, free: 86.64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/13.6, allocations: 4.826 MB / 5.138 GB, free: 84.64 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/13.6, allocations: 1.587 MB / 5.139 GB, free: 83.91 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002755/13.6, allocations: 0.5149 MB / 5.14 GB, free: 83.89 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004646/13.6, allocations: 155.7 kB / 5.14 GB, free: 83.88 MB / 0.9948 GB Notification: Performance of SimCode: time 1.092e-06/13.6, allocations: 1.094 kB / 5.14 GB, free: 83.88 MB / 0.9948 GB Notification: Performance of Templates: time 0.1131/13.72, allocations: 69.47 MB / 5.208 GB, free: 81.21 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)