Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4384/0.4384, allocations: 86.28 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.3 MB / 348.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008268/0.0008269, allocations: 93.8 kB / 420.2 MB, free: 9.684 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 12 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3099, allocations: 71 MB / 0.5594 GB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.371/3.681, allocations: 1.912 GB / 2.472 GB, free: 142 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/3.681, allocations: 103.9 kB / 2.472 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.461/10.14, allocations: 2.065 GB / 4.537 GB, free: 65.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.112e-06/10.14, allocations: 0 / 4.537 GB, free: 65.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000297/10.14, allocations: 55.17 kB / 4.537 GB, free: 65.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.007971/10.15, allocations: 2.876 MB / 4.54 GB, free: 64.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/10.15, allocations: 9.781 kB / 4.54 GB, free: 64.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/10.16, allocations: 0.778 MB / 4.54 GB, free: 64.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/10.16, allocations: 2.235 MB / 4.543 GB, free: 64.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-05/10.16, allocations: 109.2 kB / 4.543 GB, free: 64.26 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/10.16, allocations: 143.4 kB / 4.543 GB, free: 64.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/10.16, allocations: 1.576 MB / 4.544 GB, free: 64.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/10.16, allocations: 8.344 kB / 4.544 GB, free: 64.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/10.16, allocations: 54.62 kB / 4.544 GB, free: 64.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/10.16, allocations: 47.2 kB / 4.544 GB, free: 64.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/10.17, allocations: 1.281 MB / 4.546 GB, free: 64.01 MB / 0.6511 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.008453/10.18, allocations: 7.474 MB / 4.553 GB, free: 60.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/10.18, allocations: 1.486 MB / 4.554 GB, free: 59.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007947/10.18, allocations: 0.4887 MB / 4.555 GB, free: 59.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008742/10.18, allocations: 0.7523 MB / 4.556 GB, free: 58.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008687/10.18, allocations: 0.5279 MB / 4.556 GB, free: 58.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007593/10.18, allocations: 121.6 kB / 4.556 GB, free: 58.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=86): time 3.888e-06/10.18, allocations: 0 / 4.556 GB, free: 58.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=86): time 0.003035/10.18, allocations: 1.51 MB / 4.558 GB, free: 58.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/10.18, allocations: 117.3 kB / 4.558 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/10.19, allocations: 1.537 MB / 4.559 GB, free: 58.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.18e-05/10.19, allocations: 45.98 kB / 4.559 GB, free: 58.03 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/10.19, allocations: 0.9279 MB / 4.56 GB, free: 57.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/10.19, allocations: 309.8 kB / 4.561 GB, free: 57.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/10.19, allocations: 18.56 kB / 4.561 GB, free: 57.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/10.19, allocations: 350.1 kB / 4.561 GB, free: 57.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007494/10.19, allocations: 391.6 kB / 4.561 GB, free: 57.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008786/10.19, allocations: 0.7768 MB / 4.562 GB, free: 56.81 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/10.19, allocations: 1.136 MB / 4.563 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/10.19, allocations: 2.406 kB / 4.563 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002138/10.19, allocations: 1.332 MB / 4.565 GB, free: 56.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/10.19, allocations: 381.1 kB / 4.565 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/10.19, allocations: 13.58 kB / 4.565 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/10.19, allocations: 13.28 kB / 4.565 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009748/10.19, allocations: 257.8 kB / 4.565 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/10.19, allocations: 24.55 kB / 4.565 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/10.19, allocations: 145.7 kB / 4.565 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/10.19, allocations: 55.08 kB / 4.565 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-06/10.2, allocations: 3.719 kB / 4.565 GB, free: 55.86 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001896/10.2, allocations: 1.153 MB / 4.566 GB, free: 55.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/10.2, allocations: 7.938 kB / 4.566 GB, free: 55.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/10.2, allocations: 14.47 kB / 4.567 GB, free: 55.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/10.2, allocations: 266.9 kB / 4.567 GB, free: 55.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/10.2, allocations: 25.38 kB / 4.567 GB, free: 55.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/10.2, allocations: 150.2 kB / 4.567 GB, free: 55.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/10.2, allocations: 53.3 kB / 4.567 GB, free: 55.79 MB / 0.6511 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 132 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007138/10.2, allocations: 0.528 MB / 4.568 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/10.2, allocations: 183.1 kB / 4.568 GB, free: 55.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/10.2, allocations: 1.126 MB / 4.569 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/10.2, allocations: 8.438 kB / 4.569 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/10.2, allocations: 0 / 4.569 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001881/10.2, allocations: 1.177 MB / 4.57 GB, free: 54.94 MB / 0.6511 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.004217/10.21, allocations: 2.834 MB / 4.573 GB, free: 54.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/10.21, allocations: 1.219 kB / 4.573 GB, free: 54.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/10.21, allocations: 187.9 kB / 4.573 GB, free: 54.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/10.21, allocations: 39.02 kB / 4.573 GB, free: 54.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/10.21, allocations: 27.16 kB / 4.573 GB, free: 54.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008982/10.21, allocations: 1.424 MB / 4.574 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/10.21, allocations: 0 / 4.574 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/10.21, allocations: 1.682 MB / 4.576 GB, free: 52.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/10.21, allocations: 336.4 kB / 4.576 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/10.21, allocations: 25.67 kB / 4.576 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/10.21, allocations: 136.9 kB / 4.576 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/10.21, allocations: 79.05 kB / 4.577 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/10.22, allocations: 31.2 kB / 4.577 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001228/10.22, allocations: 1.029 MB / 4.578 GB, free: 52.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/10.22, allocations: 0 / 4.578 GB, free: 52.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003358/10.22, allocations: 1.288 MB / 4.579 GB, free: 52.34 MB / 0.6511 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.s[1],mov.filter.s[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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.00448/10.22, allocations: 3.616 MB / 4.582 GB, free: 50.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002726/10.23, allocations: 1.678 MB / 4.584 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/10.23, allocations: 6.219 kB / 4.584 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009147/10.23, allocations: 0.5858 MB / 4.585 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/10.23, allocations: 0.7656 MB / 4.585 GB, free: 50.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/10.24, allocations: 4.319 MB / 4.59 GB, free: 48.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/10.24, allocations: 1.484 MB / 4.591 GB, free: 48.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001925/10.24, allocations: 464.9 kB / 4.591 GB, free: 48.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/10.24, allocations: 140.2 kB / 4.592 GB, free: 48.14 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/10.24, allocations: 2.688 kB / 4.592 GB, free: 48.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.0761/10.32, allocations: 62.24 MB / 4.652 GB, free: 44.87 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)