Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.386/2.386, allocations: 284.8 MB / 297.3 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001471, allocations: 176.9 kB / 365.7 MB, free: 2.617 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.2 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 92.95 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.645e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7976, allocations: 115.2 MB / 0.97 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.656/7.454, allocations: 2.121 GB / 3.091 GB, free: 281.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/7.454, allocations: 93.27 kB / 3.091 GB, free: 281.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.42/17.88, allocations: 1.983 GB / 5.074 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.984e-06/17.88, allocations: 0 / 5.074 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000393/17.88, allocations: 61.89 kB / 5.074 GB, free: 115.6 MB / 0.9792 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.009212/17.89, allocations: 2.61 MB / 5.077 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/17.89, allocations: 7.438 kB / 5.077 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008369/17.9, allocations: 0.8057 MB / 5.078 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009176/17.91, allocations: 2.33 MB / 5.08 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/17.91, allocations: 125.2 kB / 5.08 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004646/17.91, allocations: 162.9 kB / 5.08 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00439/17.91, allocations: 1.715 MB / 5.082 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/17.91, allocations: 5.75 kB / 5.082 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/17.91, allocations: 62.52 kB / 5.082 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.399e-05/17.91, allocations: 57.41 kB / 5.082 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/17.92, allocations: 1.323 MB / 5.083 GB, free: 113.5 MB / 0.9792 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.01674/17.93, allocations: 8.056 MB / 5.091 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/17.94, allocations: 1.622 MB / 5.093 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/17.94, allocations: 0.5606 MB / 5.093 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/17.94, allocations: 213.7 kB / 5.094 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/17.94, allocations: 0.5729 MB / 5.094 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00146/17.94, allocations: 123.8 kB / 5.094 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 4.96e-06/17.94, allocations: 0 / 5.094 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.0086/17.95, allocations: 2.699 MB / 5.097 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/17.95, allocations: 169.1 kB / 5.097 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/17.95, allocations: 1.306 MB / 5.098 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003535/17.95, allocations: 53.05 kB / 5.098 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/17.95, allocations: 0.9772 MB / 5.099 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/17.95, allocations: 371.4 kB / 5.1 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/17.95, allocations: 21.25 kB / 5.1 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001101/17.95, allocations: 357.2 kB / 5.1 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/17.95, allocations: 435.8 kB / 5.101 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/17.96, allocations: 0.8006 MB / 5.101 GB, free: 106.1 MB / 0.9792 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.01497/17.97, allocations: 2.18 MB / 5.103 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/17.97, allocations: 6.625 kB / 5.103 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003787/17.98, allocations: 1.458 MB / 5.105 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006875/17.98, allocations: 3.042 MB / 5.108 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/17.98, allocations: 6.562 kB / 5.108 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002675/17.98, allocations: 46.52 kB / 5.108 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/17.98, allocations: 282.8 kB / 5.108 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/17.98, allocations: 1.508 MB / 5.11 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/17.98, allocations: 157.5 kB / 5.11 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/17.98, allocations: 54.56 kB / 5.11 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/17.98, allocations: 6.656 kB / 5.11 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003166/17.99, allocations: 1.272 MB / 5.111 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/17.99, allocations: 7.594 kB / 5.111 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/17.99, allocations: 47.81 kB / 5.111 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/17.99, allocations: 281.5 kB / 5.111 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/17.99, allocations: 1.495 MB / 5.113 GB, free: 99.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/17.99, allocations: 160.1 kB / 5.113 GB, free: 99.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/17.99, allocations: 62.39 kB / 5.113 GB, free: 99.68 MB / 0.9792 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 ($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 (148): * Single equations (assignments): 143 * 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.0004852/17.99, allocations: 191.5 kB / 5.113 GB, free: 99.54 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/18, allocations: 193.8 kB / 5.113 GB, free: 99.44 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/18, allocations: 1.245 MB / 5.115 GB, free: 99.34 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/18, allocations: 9 kB / 5.115 GB, free: 99.34 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/18, allocations: 1.438 kB / 5.115 GB, free: 99.34 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002338/18, allocations: 0.994 MB / 5.116 GB, free: 99.23 MB / 0.9792 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.00856/18.01, allocations: 3.357 MB / 5.119 GB, free: 98.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/18.01, allocations: 0 / 5.119 GB, free: 98.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/18.01, allocations: 227.8 kB / 5.119 GB, free: 98.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/18.01, allocations: 73.33 kB / 5.119 GB, free: 98.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/18.01, allocations: 31.55 kB / 5.119 GB, free: 98.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/18.01, allocations: 2.75 MB / 5.122 GB, free: 95.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/18.01, allocations: 0 / 5.122 GB, free: 95.97 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/18.02, allocations: 1.965 MB / 5.124 GB, free: 95.54 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/18.02, allocations: 381.2 kB / 5.124 GB, free: 95.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/18.02, allocations: 26.62 kB / 5.124 GB, free: 95.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/18.02, allocations: 152.1 kB / 5.124 GB, free: 95.33 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/18.02, allocations: 80.95 kB / 5.124 GB, free: 95.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/18.02, allocations: 42.59 kB / 5.125 GB, free: 95.32 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002126/18.03, allocations: 1.011 MB / 5.125 GB, free: 95.16 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.61e-07/18.03, allocations: 2.969 kB / 5.126 GB, free: 95.16 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00641/18.03, allocations: 1.309 MB / 5.127 GB, free: 95.1 MB / 0.9792 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) * 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.006724/18.04, allocations: 3.474 MB / 5.13 GB, free: 93.65 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005219/18.04, allocations: 2.23 MB / 5.132 GB, free: 92.55 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/18.04, allocations: 0 / 5.132 GB, free: 92.55 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/18.05, allocations: 0.7534 MB / 5.133 GB, free: 92.13 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007705/18.05, allocations: 0.9562 MB / 5.134 GB, free: 91.94 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/18.06, allocations: 3.187 MB / 5.137 GB, free: 90.73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/18.07, allocations: 1.637 MB / 5.139 GB, free: 89.91 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005207/18.07, allocations: 0.6933 MB / 5.139 GB, free: 89.88 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/18.07, allocations: 120.7 kB / 5.14 GB, free: 89.87 MB / 0.9792 GB Notification: Performance of SimCode: time 1.543e-06/18.07, allocations: 0 / 5.14 GB, free: 89.87 MB / 0.9792 GB Notification: Performance of Templates: time 0.1757/18.25, allocations: 79.83 MB / 5.217 GB, free: 32.7 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)