Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.7/2.7, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001562/0.001561, allocations: 180.3 kB / 370.8 MB, free: 10.84 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.264/2.264, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00108/0.00108, allocations: 86.94 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009011/0.0009013, allocations: 12.14 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2629, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.807/7.07, allocations: 2.072 GB / 3.05 GB, free: 203 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/7.071, allocations: 90.14 kB / 3.05 GB, free: 203 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5575/7.628, allocations: 170.1 MB / 3.217 GB, free: 39.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.805e-06/7.628, allocations: 4 kB / 3.217 GB, free: 39.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.965e-05/7.628, allocations: 16 kB / 3.217 GB, free: 39.18 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.002131/7.63, allocations: 0.8305 MB / 3.217 GB, free: 38.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/7.63, allocations: 19.95 kB / 3.217 GB, free: 38.28 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/7.631, allocations: 62.55 kB / 3.217 GB, free: 38.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/7.632, allocations: 151.2 kB / 3.218 GB, free: 38.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/7.634, allocations: 0.5051 MB / 3.218 GB, free: 37.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/7.634, allocations: 24.56 kB / 3.218 GB, free: 37.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/7.634, allocations: 28 kB / 3.218 GB, free: 37.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/7.635, allocations: 315.6 kB / 3.218 GB, free: 37.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/7.635, allocations: 3.938 kB / 3.218 GB, free: 37.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/7.635, allocations: 15.98 kB / 3.219 GB, free: 37.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/7.635, allocations: 8.562 kB / 3.219 GB, free: 37.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/7.636, allocations: 218.1 kB / 3.219 GB, free: 36.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/7.639, allocations: 1.451 MB / 3.22 GB, free: 35.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/7.639, allocations: 226.8 kB / 3.22 GB, free: 35.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/7.64, allocations: 4 kB / 3.22 GB, free: 35.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/7.64, allocations: 164.5 kB / 3.221 GB, free: 34.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 3.878e-06/7.64, allocations: 4 kB / 3.221 GB, free: 34.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.004869/7.645, allocations: 1.175 MB / 3.222 GB, free: 33.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/7.645, allocations: 55.34 kB / 3.222 GB, free: 33.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/7.646, allocations: 413.1 kB / 3.222 GB, free: 33.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/7.646, allocations: 37.64 kB / 3.222 GB, free: 33.15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/7.646, allocations: 236.2 kB / 3.222 GB, free: 32.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/7.646, allocations: 106.5 kB / 3.222 GB, free: 32.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/7.646, allocations: 8 kB / 3.222 GB, free: 32.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001052/7.646, allocations: 354.8 kB / 3.223 GB, free: 32.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/7.647, allocations: 140.8 kB / 3.223 GB, free: 32.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/7.647, allocations: 198.3 kB / 3.223 GB, free: 32.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/7.648, allocations: 168.5 kB / 3.223 GB, free: 31.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/7.648, allocations: 0 / 3.223 GB, free: 31.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001618/7.649, allocations: 0.5089 MB / 3.224 GB, free: 31.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/7.649, allocations: 8 kB / 3.224 GB, free: 31.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/7.649, allocations: 0 / 3.224 GB, free: 31.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/7.65, allocations: 80.8 kB / 3.224 GB, free: 31.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/7.651, allocations: 63.91 kB / 3.224 GB, free: 31.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/7.653, allocations: 1.791 MB / 3.226 GB, free: 29.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/7.654, allocations: 24.05 kB / 3.226 GB, free: 29.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/7.654, allocations: 15.94 kB / 3.226 GB, free: 29.28 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004152/7.654, allocations: 200 kB / 3.226 GB, free: 29.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/7.655, allocations: 51.39 kB / 3.226 GB, free: 29.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/7.656, allocations: 426.8 kB / 3.226 GB, free: 28.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/7.656, allocations: 0 / 3.226 GB, free: 28.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/7.656, allocations: 4.125 kB / 3.226 GB, free: 28.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/7.656, allocations: 4 kB / 3.226 GB, free: 28.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/7.659, allocations: 1.023 MB / 3.227 GB, free: 27.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/7.659, allocations: 7.938 kB / 3.227 GB, free: 27.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/7.66, allocations: 63.95 kB / 3.227 GB, free: 27.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/7.66, allocations: 76.97 kB / 3.228 GB, free: 27.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/7.66, allocations: 12 kB / 3.228 GB, free: 27.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/7.662, allocations: 1.569 MB / 3.229 GB, free: 25.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/7.662, allocations: 3.938 kB / 3.229 GB, free: 25.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/7.664, allocations: 0.6123 MB / 3.23 GB, free: 25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/7.664, allocations: 148.6 kB / 3.23 GB, free: 24.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/7.664, allocations: 11.98 kB / 3.23 GB, free: 24.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/7.665, allocations: 23.86 kB / 3.23 GB, free: 24.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/7.665, allocations: 27.91 kB / 3.23 GB, free: 24.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/7.665, allocations: 11.98 kB / 3.23 GB, free: 24.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005406/7.666, allocations: 307.1 kB / 3.23 GB, free: 24.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/7.666, allocations: 0 / 3.23 GB, free: 24.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001105/7.667, allocations: 191.9 kB / 3.23 GB, free: 24.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004179/7.671, allocations: 2.151 MB / 3.232 GB, free: 22.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001581/7.673, allocations: 470.5 kB / 3.233 GB, free: 21.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/7.673, allocations: 0 / 3.233 GB, free: 21.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004705/7.673, allocations: 266.4 kB / 3.233 GB, free: 21.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/7.675, allocations: 222.8 kB / 3.233 GB, free: 21.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/7.679, allocations: 2.412 MB / 3.236 GB, free: 18.81 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/7.679, allocations: 0.8581 MB / 3.237 GB, free: 17.93 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006886/7.68, allocations: 84.33 kB / 3.237 GB, free: 17.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/7.68, allocations: 163.4 kB / 3.237 GB, free: 17.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.293e-06/7.68, allocations: 0 / 3.237 GB, free: 17.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7485/8.429, allocations: 24 MB / 3.26 GB, free: 283.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/8.429, allocations: 231.9 kB / 3.26 GB, free: 282.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.397/11.83, allocations: 0 / 3.26 GB, free: 282.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)