Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",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.693/1.693, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001322/0.001322, allocations: 172.9 kB / 361.4 MB, free: 6.859 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.888/1.888, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009852/0.0009852, allocations: 100.1 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.145e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8477, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.851/6.698, allocations: 2.072 GB / 3.036 GB, free: 42.65 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/6.699, allocations: 86.58 kB / 3.036 GB, free: 42.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.12/7.819, allocations: 167.9 MB / 3.2 GB, free: 268.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.372e-06/7.819, allocations: 0 / 3.2 GB, free: 268.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.783e-05/7.819, allocations: 8 kB / 3.2 GB, free: 268.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001203/7.82, allocations: 0.7328 MB / 3.201 GB, free: 267.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/7.82, allocations: 12.03 kB / 3.201 GB, free: 267.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009623/7.821, allocations: 147.2 kB / 3.201 GB, free: 267.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/7.822, allocations: 0.4956 MB / 3.201 GB, free: 266.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/7.822, allocations: 17.42 kB / 3.201 GB, free: 266.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/7.822, allocations: 24 kB / 3.201 GB, free: 266.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003292/7.823, allocations: 197.1 kB / 3.202 GB, free: 266.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/7.823, allocations: 270.5 kB / 3.202 GB, free: 266.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/7.823, allocations: 0 / 3.202 GB, free: 266.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/7.823, allocations: 3.984 kB / 3.202 GB, free: 266.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/7.823, allocations: 12.56 kB / 3.202 GB, free: 266.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/7.825, allocations: 1.392 MB / 3.203 GB, free: 264.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/7.825, allocations: 208.2 kB / 3.204 GB, free: 264.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/7.825, allocations: 96.84 kB / 3.204 GB, free: 264.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/7.825, allocations: 4 kB / 3.204 GB, free: 264.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/7.826, allocations: 151.7 kB / 3.204 GB, free: 264.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.534e-06/7.826, allocations: 4 kB / 3.204 GB, free: 264.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.002254/7.828, allocations: 0.9958 MB / 3.205 GB, free: 263.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/7.828, allocations: 59.41 kB / 3.205 GB, free: 263.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/7.828, allocations: 389.1 kB / 3.205 GB, free: 262.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/7.828, allocations: 31.05 kB / 3.205 GB, free: 262.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/7.828, allocations: 228.6 kB / 3.205 GB, free: 262.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/7.828, allocations: 98.56 kB / 3.206 GB, free: 262.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/7.828, allocations: 3.984 kB / 3.206 GB, free: 262.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/7.829, allocations: 362.8 kB / 3.206 GB, free: 262 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/7.829, allocations: 124.8 kB / 3.206 GB, free: 261.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/7.829, allocations: 189.4 kB / 3.206 GB, free: 261.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/7.829, allocations: 163.5 kB / 3.206 GB, free: 261.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/7.829, allocations: 0 / 3.206 GB, free: 261.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008069/7.83, allocations: 489.3 kB / 3.207 GB, free: 261 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/7.83, allocations: 4 kB / 3.207 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/7.83, allocations: 4 kB / 3.207 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/7.83, allocations: 80.8 kB / 3.207 GB, free: 260.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/7.831, allocations: 67.84 kB / 3.207 GB, free: 260.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/7.832, allocations: 1.701 MB / 3.209 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/7.833, allocations: 18.75 kB / 3.209 GB, free: 259 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/7.833, allocations: 11.98 kB / 3.209 GB, free: 259 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/7.833, allocations: 122.7 kB / 3.209 GB, free: 258.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006561/7.833, allocations: 361.8 kB / 3.209 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/7.833, allocations: 43.48 kB / 3.209 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007224/7.834, allocations: 387.2 kB / 3.209 GB, free: 258.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/7.834, allocations: 4 kB / 3.209 GB, free: 258.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/7.834, allocations: 4 kB / 3.209 GB, free: 258.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/7.834, allocations: 0 / 3.209 GB, free: 258.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/7.836, allocations: 0.9577 MB / 3.21 GB, free: 257.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/7.836, allocations: 0 / 3.21 GB, free: 257.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/7.836, allocations: 59.91 kB / 3.21 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/7.836, allocations: 108.8 kB / 3.211 GB, free: 256.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/7.836, allocations: 7.984 kB / 3.211 GB, free: 256.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/7.838, allocations: 1.654 MB / 3.212 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/7.838, allocations: 3.938 kB / 3.212 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/7.839, allocations: 0.5818 MB / 3.213 GB, free: 254.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/7.839, allocations: 160.5 kB / 3.213 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/7.839, allocations: 8 kB / 3.213 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/7.839, allocations: 11.98 kB / 3.213 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/7.839, allocations: 16.11 kB / 3.213 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/7.839, allocations: 15.98 kB / 3.213 GB, free: 254.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002916/7.84, allocations: 275 kB / 3.213 GB, free: 254 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/7.84, allocations: 8 kB / 3.213 GB, free: 254 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007823/7.84, allocations: 179.9 kB / 3.213 GB, free: 253.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00288/7.843, allocations: 2.16 MB / 3.216 GB, free: 251.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008082/7.844, allocations: 429.7 kB / 3.216 GB, free: 251.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/7.844, allocations: 4 kB / 3.216 GB, free: 251.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004197/7.845, allocations: 257.6 kB / 3.216 GB, free: 251 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/7.846, allocations: 221.3 kB / 3.216 GB, free: 250.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/7.848, allocations: 0.8643 MB / 3.217 GB, free: 249.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/7.848, allocations: 0.8588 MB / 3.218 GB, free: 249 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003974/7.848, allocations: 80.33 kB / 3.218 GB, free: 249 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/7.849, allocations: 159.4 kB / 3.218 GB, free: 248.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/7.849, allocations: 4 kB / 3.218 GB, free: 248.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/7.886, allocations: 17.18 MB / 3.235 GB, free: 231.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/7.887, allocations: 170.4 kB / 3.235 GB, free: 231.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/10.72, allocations: 3.938 kB / 3.235 GB, free: 231.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)