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.679/1.679, allocations: 288.2 MB / 303.2 MB, free: 8.066 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.001176/0.001176, allocations: 172.9 kB / 371.8 MB, free: 10.14 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.771/1.771, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009178/0.0009175, allocations: 105.7 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004571, allocations: 16.09 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2353, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.768/5.003, allocations: 2.128 GB / 3.107 GB, free: 135 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/5.003, allocations: 102.9 kB / 3.108 GB, free: 135 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.682/12.69, allocations: 2.072 GB / 5.179 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.585e-06/12.69, allocations: 0 / 5.179 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002811/12.69, allocations: 62.84 kB / 5.179 GB, free: 125.3 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.0111/12.7, allocations: 2.957 MB / 5.182 GB, free: 124.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/12.7, allocations: 12.91 kB / 5.182 GB, free: 124.3 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008648/12.7, allocations: 203.2 kB / 5.183 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005699/12.7, allocations: 0.7727 MB / 5.183 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007047/12.71, allocations: 2.227 MB / 5.185 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/12.71, allocations: 111.5 kB / 5.186 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/12.71, allocations: 147.2 kB / 5.186 GB, free: 123.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/12.71, allocations: 1.594 MB / 5.187 GB, free: 123.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/12.71, allocations: 0 / 5.187 GB, free: 123.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/12.71, allocations: 58.53 kB / 5.187 GB, free: 123.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/12.71, allocations: 45.22 kB / 5.187 GB, free: 123.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/12.72, allocations: 1.274 MB / 5.189 GB, free: 123.4 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.01139/12.73, allocations: 7.41 MB / 5.196 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/12.73, allocations: 1.496 MB / 5.197 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/12.73, allocations: 0.7501 MB / 5.198 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/12.73, allocations: 0.5263 MB / 5.199 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001244/12.73, allocations: 128.7 kB / 5.199 GB, free: 118 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 9.117e-06/12.73, allocations: 0 / 5.199 GB, free: 118 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.003879/12.74, allocations: 1.5 MB / 5.2 GB, free: 117.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/12.74, allocations: 171.2 kB / 5.2 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/12.74, allocations: 1.355 MB / 5.202 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/12.74, allocations: 49.11 kB / 5.202 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/12.74, allocations: 0.932 MB / 5.203 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/12.74, allocations: 299 kB / 5.203 GB, free: 117 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.722e-05/12.74, allocations: 19.31 kB / 5.203 GB, free: 117 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/12.74, allocations: 349.6 kB / 5.203 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008814/12.74, allocations: 411.5 kB / 5.204 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/12.75, allocations: 0.787 MB / 5.204 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/12.75, allocations: 0.5325 MB / 5.205 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/12.75, allocations: 3.344 kB / 5.205 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002798/12.75, allocations: 1.363 MB / 5.206 GB, free: 116 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00089/12.75, allocations: 3.489 MB / 5.21 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/12.75, allocations: 14.36 kB / 5.21 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.422e-05/12.75, allocations: 14.78 kB / 5.21 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/12.75, allocations: 258.7 kB / 5.21 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.728e-05/12.75, allocations: 14.78 kB / 5.21 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/12.75, allocations: 149.3 kB / 5.21 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/12.75, allocations: 53.09 kB / 5.21 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/12.75, allocations: 3.469 kB / 5.21 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002283/12.76, allocations: 1.186 MB / 5.211 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/12.76, allocations: 10.62 kB / 5.211 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/12.76, allocations: 12.75 kB / 5.211 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/12.76, allocations: 260.7 kB / 5.212 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/12.76, allocations: 18.83 kB / 5.212 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/12.76, allocations: 151.4 kB / 5.212 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/12.76, allocations: 52.52 kB / 5.212 GB, free: 112.3 MB / 0.9948 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): 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.001362/12.76, allocations: 0.5507 MB / 5.212 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/12.76, allocations: 177.9 kB / 5.213 GB, free: 112 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/12.76, allocations: 1.109 MB / 5.214 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/12.76, allocations: 7.094 kB / 5.214 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/12.76, allocations: 0 / 5.214 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001838/12.77, allocations: 1.172 MB / 5.215 GB, free: 111.4 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.00651/12.77, allocations: 2.698 MB / 5.217 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/12.77, allocations: 0 / 5.217 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008842/12.77, allocations: 177.2 kB / 5.218 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/12.77, allocations: 48.8 kB / 5.218 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-05/12.77, allocations: 24.23 kB / 5.218 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/12.77, allocations: 1.423 MB / 5.219 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/12.77, allocations: 12.59 kB / 5.219 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/12.78, allocations: 1.738 MB / 5.221 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/12.78, allocations: 334.8 kB / 5.221 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005069/12.78, allocations: 23.28 kB / 5.221 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/12.78, allocations: 141.8 kB / 5.221 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/12.78, allocations: 68.39 kB / 5.221 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/12.78, allocations: 32.7 kB / 5.221 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002433/12.78, allocations: 1.042 MB / 5.222 GB, free: 109 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.61e-07/12.78, allocations: 0 / 5.222 GB, free: 109 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006697/12.79, allocations: 1.326 MB / 5.224 GB, free: 108.8 MB / 0.9948 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) * Number of clocked states: 0 () * 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.01323/12.8, allocations: 6.088 MB / 5.23 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005209/12.81, allocations: 1.762 MB / 5.231 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/12.81, allocations: 0 / 5.231 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/12.81, allocations: 0.5701 MB / 5.232 GB, free: 106 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004549/12.82, allocations: 0.7969 MB / 5.233 GB, free: 106 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/12.83, allocations: 11.47 MB / 5.244 GB, free: 97.46 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/12.83, allocations: 1.536 MB / 5.245 GB, free: 96.73 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002737/12.84, allocations: 455.2 kB / 5.246 GB, free: 96.71 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/12.84, allocations: 0.7738 MB / 5.246 GB, free: 96.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.442e-06/12.84, allocations: 2.281 kB / 5.246 GB, free: 96.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1539/12.99, allocations: 87.87 MB / 5.332 GB, free: 92.94 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/12.99, allocations: 254.1 kB / 5.333 GB, free: 92.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.143/18.13, allocations: 0 / 5.333 GB, free: 92.6 MB / 0.9948 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)