Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.664/1.664, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 172.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 0.6626 GB, free: 4.328 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007959/0.000796, allocations: 96.7 kB / 0.7808 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004138, allocations: 17.48 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7284, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.393/5.121, allocations: 1.946 GB / 2.972 GB, free: 269.6 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/5.121, allocations: 96.66 kB / 2.972 GB, free: 269.6 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.744/11.87, allocations: 1.974 GB / 4.946 GB, free: 108.7 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.515e-06/11.87, allocations: 0 / 4.946 GB, free: 108.7 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004289/11.87, allocations: 59.55 kB / 4.946 GB, free: 108.7 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.009674/11.88, allocations: 3.058 MB / 4.949 GB, free: 107.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/11.88, allocations: 9.719 kB / 4.949 GB, free: 107.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/11.88, allocations: 0.7929 MB / 4.95 GB, free: 107.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006842/11.89, allocations: 2.369 MB / 4.953 GB, free: 106.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/11.89, allocations: 119.2 kB / 4.953 GB, free: 106.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006822/11.89, allocations: 157.8 kB / 4.953 GB, free: 106.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/11.89, allocations: 1.775 MB / 4.955 GB, free: 106.3 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.554e-05/11.89, allocations: 3.938 kB / 4.955 GB, free: 106.3 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/11.89, allocations: 61.44 kB / 4.955 GB, free: 106.3 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/11.89, allocations: 62.44 kB / 4.955 GB, free: 106.3 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/11.9, allocations: 1.455 MB / 4.956 GB, free: 106.3 MB / 1.01 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.01302/11.91, allocations: 8.133 MB / 4.964 GB, free: 102.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/11.91, allocations: 1.722 MB / 4.966 GB, free: 101.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/11.91, allocations: 0.6344 MB / 4.966 GB, free: 101.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/11.91, allocations: 209.8 kB / 4.967 GB, free: 101.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/11.92, allocations: 0.6408 MB / 4.967 GB, free: 101.2 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001282/11.92, allocations: 123.4 kB / 4.967 GB, free: 101.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=104): time 9.218e-06/11.92, allocations: 1.781 kB / 4.967 GB, free: 101.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=107): time 0.008213/11.93, allocations: 3.467 MB / 4.971 GB, free: 100.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/11.93, allocations: 117.5 kB / 4.971 GB, free: 100.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/11.93, allocations: 1.513 MB / 4.972 GB, free: 100.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/11.93, allocations: 55.42 kB / 4.972 GB, free: 100 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/11.93, allocations: 0.9514 MB / 4.973 GB, free: 99.69 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/11.93, allocations: 373.8 kB / 4.974 GB, free: 99.45 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-05/11.93, allocations: 27.33 kB / 4.974 GB, free: 99.45 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001371/11.93, allocations: 354.7 kB / 4.974 GB, free: 99.15 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/11.93, allocations: 482.5 kB / 4.974 GB, free: 99.14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/11.93, allocations: 0.8413 MB / 4.975 GB, free: 98.74 MB / 1.01 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.01106/11.94, allocations: 3.479 MB / 4.979 GB, free: 98.22 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/11.94, allocations: 2.938 kB / 4.979 GB, free: 98.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.003423/11.95, allocations: 1.559 MB / 4.98 GB, free: 97.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/11.95, allocations: 341.9 kB / 4.981 GB, free: 97.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/11.95, allocations: 13.69 kB / 4.981 GB, free: 97.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/11.95, allocations: 45.14 kB / 4.981 GB, free: 97.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/11.95, allocations: 291.5 kB / 4.981 GB, free: 97.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/11.95, allocations: 1.496 MB / 4.982 GB, free: 96.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/11.95, allocations: 161.7 kB / 4.982 GB, free: 96.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/11.95, allocations: 57.95 kB / 4.983 GB, free: 96.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/11.95, allocations: 3.844 kB / 4.983 GB, free: 96.21 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002657/11.96, allocations: 1.374 MB / 4.984 GB, free: 95.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/11.96, allocations: 3.844 kB / 4.984 GB, free: 95.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/11.96, allocations: 52.8 kB / 4.984 GB, free: 95.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/11.96, allocations: 285.4 kB / 4.984 GB, free: 95.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009667/11.96, allocations: 1.504 MB / 4.986 GB, free: 94.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/11.96, allocations: 161.7 kB / 4.986 GB, free: 94.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/11.96, allocations: 57.27 kB / 4.986 GB, free: 94.36 MB / 1.01 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: 33 * 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 (148): * Single equations (assignments): 145 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.001539/11.96, allocations: 0.5802 MB / 4.986 GB, free: 93.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005835/11.96, allocations: 189.5 kB / 4.987 GB, free: 93.87 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/11.97, allocations: 1.368 MB / 4.988 GB, free: 93.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/11.97, allocations: 11.34 kB / 4.988 GB, free: 93.32 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/11.97, allocations: 0 / 4.988 GB, free: 93.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001991/11.97, allocations: 1.109 MB / 4.989 GB, free: 92.87 MB / 1.01 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.007494/11.97, allocations: 3.517 MB / 4.992 GB, free: 91.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/11.97, allocations: 6.562 kB / 4.992 GB, free: 91.15 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/11.98, allocations: 232 kB / 4.993 GB, free: 91.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/11.98, allocations: 71.11 kB / 4.993 GB, free: 91.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/11.98, allocations: 29.58 kB / 4.993 GB, free: 91.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/11.98, allocations: 2.757 MB / 4.995 GB, free: 88.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/11.98, allocations: 2.188 kB / 4.995 GB, free: 88.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/11.98, allocations: 2.074 MB / 4.998 GB, free: 87.44 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/11.98, allocations: 378 kB / 4.998 GB, free: 87.18 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006143/11.98, allocations: 27.62 kB / 4.998 GB, free: 87.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/11.99, allocations: 151.4 kB / 4.998 GB, free: 87.14 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/11.99, allocations: 75.23 kB / 4.998 GB, free: 87.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/11.99, allocations: 40.91 kB / 4.998 GB, free: 87.12 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002317/11.99, allocations: 1.014 MB / 4.999 GB, free: 86.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/11.99, allocations: 1.812 kB / 4.999 GB, free: 86.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006025/11.99, allocations: 1.244 MB / 5 GB, free: 86.44 MB / 1.01 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.s[1],mov.filter.s[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 (105): * Single equations (assignments): 101 * 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.005467/12, allocations: 3.432 MB / 5.004 GB, free: 84.99 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004286/12, allocations: 2.267 MB / 5.006 GB, free: 84 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/12, allocations: 0 / 5.006 GB, free: 84 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/12.01, allocations: 0.8146 MB / 5.007 GB, free: 83.58 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/12.01, allocations: 0.9584 MB / 5.008 GB, free: 83.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009061/12.02, allocations: 4.772 MB / 5.012 GB, free: 80.92 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/12.02, allocations: 1.578 MB / 5.014 GB, free: 80.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003003/12.02, allocations: 0.522 MB / 5.014 GB, free: 80 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005627/12.03, allocations: 143.1 kB / 5.015 GB, free: 80 MB / 1.01 GB Notification: Performance of SimCode: time 9.92e-07/12.03, allocations: 0 / 5.015 GB, free: 80 MB / 1.01 GB Notification: Performance of Templates: time 0.1011/12.13, allocations: 68.26 MB / 5.081 GB, free: 37.34 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)