Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001398/0.001398, allocations: 176.9 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.001173/0.001173, allocations: 85.66 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.753e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8647, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.51/6.375, allocations: 2.073 GB / 3.046 GB, free: 56.54 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/6.375, allocations: 83.95 kB / 3.046 GB, free: 56.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.069/7.444, allocations: 167.9 MB / 3.21 GB, free: 273 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/7.445, allocations: 0 / 3.21 GB, free: 273 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.635e-05/7.445, allocations: 12 kB / 3.21 GB, free: 273 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.001192/7.446, allocations: 0.736 MB / 3.211 GB, free: 272.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/7.446, allocations: 8.031 kB / 3.211 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009652/7.447, allocations: 143.2 kB / 3.211 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008222/7.448, allocations: 0.5098 MB / 3.211 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/7.448, allocations: 8 kB / 3.211 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/7.448, allocations: 20 kB / 3.211 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003578/7.448, allocations: 197.1 kB / 3.212 GB, free: 271.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/7.449, allocations: 274.5 kB / 3.212 GB, free: 271.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/7.449, allocations: 4 kB / 3.212 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/7.449, allocations: 0 / 3.212 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/7.449, allocations: 16.56 kB / 3.212 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/7.45, allocations: 1.391 MB / 3.213 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/7.451, allocations: 210.6 kB / 3.213 GB, free: 269.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/7.451, allocations: 104.8 kB / 3.213 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/7.451, allocations: 4 kB / 3.213 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/7.451, allocations: 149.7 kB / 3.214 GB, free: 269 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/7.451, allocations: 0 / 3.214 GB, free: 269 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.00228/7.453, allocations: 0.9893 MB / 3.215 GB, free: 268 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/7.453, allocations: 58.5 kB / 3.215 GB, free: 267.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/7.454, allocations: 389.2 kB / 3.215 GB, free: 267.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/7.454, allocations: 29.7 kB / 3.215 GB, free: 267.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/7.454, allocations: 228.5 kB / 3.215 GB, free: 267.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/7.454, allocations: 106.5 kB / 3.215 GB, free: 267.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/7.454, allocations: 0 / 3.215 GB, free: 267.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/7.454, allocations: 354.8 kB / 3.216 GB, free: 266.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/7.454, allocations: 132.8 kB / 3.216 GB, free: 266.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/7.454, allocations: 185.5 kB / 3.216 GB, free: 266.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/7.455, allocations: 163.9 kB / 3.216 GB, free: 266.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/7.455, allocations: 4 kB / 3.216 GB, free: 266.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008258/7.456, allocations: 485 kB / 3.217 GB, free: 265.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/7.456, allocations: 7.938 kB / 3.217 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/7.456, allocations: 4 kB / 3.217 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/7.456, allocations: 84.92 kB / 3.217 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/7.456, allocations: 67.91 kB / 3.217 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/7.458, allocations: 1.685 MB / 3.218 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/7.458, allocations: 19.95 kB / 3.218 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/7.458, allocations: 16 kB / 3.218 GB, free: 263.8 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.0001057/7.458, allocations: 118 kB / 3.219 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006481/7.459, allocations: 362.8 kB / 3.219 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/7.459, allocations: 47.48 kB / 3.219 GB, free: 263.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007487/7.46, allocations: 387.4 kB / 3.219 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/7.46, allocations: 4 kB / 3.219 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/7.46, allocations: 4 kB / 3.219 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/7.46, allocations: 3.984 kB / 3.219 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/7.461, allocations: 0.9656 MB / 3.22 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/7.461, allocations: 0 / 3.22 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/7.462, allocations: 59.91 kB / 3.22 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/7.462, allocations: 108.8 kB / 3.22 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/7.462, allocations: 4 kB / 3.22 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/7.463, allocations: 1.654 MB / 3.222 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/7.463, allocations: 7.969 kB / 3.222 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/7.464, allocations: 0.581 MB / 3.223 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/7.465, allocations: 156.8 kB / 3.223 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/7.465, allocations: 15.92 kB / 3.223 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/7.465, allocations: 19.92 kB / 3.223 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/7.465, allocations: 19.97 kB / 3.223 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/7.465, allocations: 15.98 kB / 3.223 GB, free: 259.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003485/7.465, allocations: 279 kB / 3.223 GB, free: 258.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.102e-06/7.465, allocations: 0 / 3.223 GB, free: 258.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009248/7.466, allocations: 183.8 kB / 3.223 GB, free: 258.7 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.003221/7.47, allocations: 2.145 MB / 3.225 GB, free: 256.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008978/7.47, allocations: 425.5 kB / 3.226 GB, free: 256.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/7.471, allocations: 0 / 3.226 GB, free: 256.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/7.471, allocations: 266 kB / 3.226 GB, free: 256 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/7.472, allocations: 214.1 kB / 3.226 GB, free: 255.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/7.474, allocations: 0.8643 MB / 3.227 GB, free: 254.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/7.474, allocations: 0.8581 MB / 3.228 GB, free: 254 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003806/7.475, allocations: 88.31 kB / 3.228 GB, free: 253.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/7.475, allocations: 155.4 kB / 3.228 GB, free: 253.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/7.475, allocations: 0 / 3.228 GB, free: 253.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/7.514, allocations: 17.17 MB / 3.245 GB, free: 236.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/7.514, allocations: 158.2 kB / 3.245 GB, free: 236.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/10.33, allocations: 0 / 3.245 GB, free: 236.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)