Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.687/1.687, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001154/0.001154, allocations: 172.9 kB / 361.4 MB, free: 6.824 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.933/1.933, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.001058/0.001058, allocations: 99 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.816e-05, allocations: 8 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8243/0.8244, allocations: 115.3 MB / 0.9644 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.194/6.018, allocations: 2.127 GB / 3.092 GB, free: 30.94 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/6.019, allocations: 92.7 kB / 3.092 GB, free: 30.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.71/14.73, allocations: 2.048 GB / 5.14 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.753e-06/14.73, allocations: 0 / 5.14 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004338/14.73, allocations: 61.44 kB / 5.14 GB, free: 118.7 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.008341/14.74, allocations: 2.452 MB / 5.142 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/14.74, allocations: 7.812 kB / 5.142 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/14.74, allocations: 0.7843 MB / 5.143 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007436/14.75, allocations: 2.213 MB / 5.145 GB, free: 117 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/14.75, allocations: 40.84 kB / 5.145 GB, free: 117 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005655/14.75, allocations: 86.31 kB / 5.145 GB, free: 117 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002809/14.75, allocations: 1.077 MB / 5.146 GB, free: 117 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/14.76, allocations: 1.329 MB / 5.147 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/14.76, allocations: 0 / 5.147 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/14.76, allocations: 3.406 kB / 5.147 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/14.76, allocations: 48.03 kB / 5.147 GB, free: 116.8 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.009454/14.77, allocations: 7.163 MB / 5.154 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/14.77, allocations: 1.354 MB / 5.156 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/14.77, allocations: 406.9 kB / 5.156 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/14.77, allocations: 0.7513 MB / 5.157 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/14.77, allocations: 441.4 kB / 5.157 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009455/14.77, allocations: 116 kB / 5.157 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 4.188e-06/14.77, allocations: 0 / 5.157 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.005546/14.78, allocations: 1.503 MB / 5.159 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/14.78, allocations: 167.5 kB / 5.159 GB, free: 111 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/14.78, allocations: 1.233 MB / 5.16 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-05/14.78, allocations: 29.48 kB / 5.16 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008267/14.78, allocations: 0.9316 MB / 5.161 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/14.78, allocations: 284 kB / 5.161 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/14.78, allocations: 0 / 5.161 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/14.78, allocations: 348.5 kB / 5.162 GB, free: 110 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/14.78, allocations: 337.1 kB / 5.162 GB, free: 110 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/14.78, allocations: 0.7103 MB / 5.163 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00416/14.79, allocations: 1.032 MB / 5.164 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/14.79, allocations: 10.33 kB / 5.164 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005722/14.79, allocations: 1.739 MB / 5.166 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008917/14.79, allocations: 3.477 MB / 5.169 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/14.79, allocations: 7 kB / 5.169 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.769e-05/14.79, allocations: 23.02 kB / 5.169 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/14.79, allocations: 263.6 kB / 5.169 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/14.79, allocations: 16.31 kB / 5.169 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/14.79, allocations: 121.2 kB / 5.169 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/14.79, allocations: 53.3 kB / 5.169 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/14.8, allocations: 6.594 kB / 5.169 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004845/14.8, allocations: 1.507 MB / 5.171 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/14.8, allocations: 10.81 kB / 5.171 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/14.8, allocations: 20.25 kB / 5.171 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/14.8, allocations: 254.2 kB / 5.171 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/14.8, allocations: 17.34 kB / 5.171 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/14.8, allocations: 124.8 kB / 5.171 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/14.8, allocations: 55.73 kB / 5.171 GB, free: 105.7 MB / 0.9792 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.0003025/14.8, allocations: 141.3 kB / 5.171 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005021/14.81, allocations: 1.438 MB / 5.173 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/14.81, allocations: 176.7 kB / 5.173 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005216/14.81, allocations: 1.52 MB / 5.175 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/14.81, allocations: 12.91 kB / 5.175 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/14.81, allocations: 2.078 kB / 5.175 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004445/14.82, allocations: 1.595 MB / 5.176 GB, free: 104.7 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.00845/14.83, allocations: 3.074 MB / 5.179 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/14.83, allocations: 0 / 5.179 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/14.83, allocations: 177.5 kB / 5.179 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/14.83, allocations: 41.2 kB / 5.179 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/14.83, allocations: 22.97 kB / 5.179 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/14.83, allocations: 1.373 MB / 5.181 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/14.83, allocations: 3.219 kB / 5.181 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/14.83, allocations: 2.12 MB / 5.183 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/14.84, allocations: 334.5 kB / 5.183 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/14.84, allocations: 7.625 kB / 5.183 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/14.84, allocations: 128.5 kB / 5.183 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/14.84, allocations: 66.66 kB / 5.183 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/14.84, allocations: 34.33 kB / 5.183 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001423/14.84, allocations: 0.9133 MB / 5.184 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.61e-07/14.84, allocations: 0 / 5.184 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004201/14.84, allocations: 1.207 MB / 5.185 GB, free: 102.1 MB / 0.9792 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.01113/14.85, allocations: 6.577 MB / 5.192 GB, free: 99.63 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002548/14.86, allocations: 1.568 MB / 5.193 GB, free: 99.36 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/14.86, allocations: 0 / 5.193 GB, free: 99.36 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007444/14.86, allocations: 0.4939 MB / 5.194 GB, free: 99.24 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/14.86, allocations: 0.7572 MB / 5.195 GB, free: 99.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/14.87, allocations: 3.319 MB / 5.198 GB, free: 98.27 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/14.87, allocations: 1.541 MB / 5.199 GB, free: 97.52 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002843/14.87, allocations: 0.6514 MB / 5.2 GB, free: 97.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009263/14.87, allocations: 0.7423 MB / 5.201 GB, free: 97.39 MB / 0.9792 GB Notification: Performance of SimCode: time 1.613e-06/14.87, allocations: 3.344 kB / 5.201 GB, free: 97.39 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/14.99, allocations: 68.48 MB / 5.268 GB, free: 55.95 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/14.99, allocations: 177.8 kB / 5.268 GB, free: 55.75 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.78/19.77, allocations: 0 / 5.268 GB, free: 55.75 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)