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.733/1.733, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001403/0.001403, allocations: 187.7 kB / 377.1 MB, free: 1.508 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.795/1.795, allocations: 205.4 MB / 0.6366 GB, free: 9.555 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.0009226/0.0009225, allocations: 91.89 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 16 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3364, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.14/6.477, allocations: 2.073 GB / 3.062 GB, free: 146.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004231/6.477, allocations: 87.95 kB / 3.062 GB, free: 146.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.167/7.644, allocations: 170.1 MB / 3.228 GB, free: 232.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.609e-06/7.644, allocations: 0 / 3.228 GB, free: 232.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.598e-05/7.644, allocations: 15.97 kB / 3.228 GB, free: 232.4 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.002593/7.647, allocations: 0.8253 MB / 3.229 GB, free: 231.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/7.647, allocations: 16.91 kB / 3.229 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/7.647, allocations: 70.03 kB / 3.229 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/7.649, allocations: 148.4 kB / 3.229 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/7.65, allocations: 0.5064 MB / 3.229 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/7.65, allocations: 24.47 kB / 3.229 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/7.651, allocations: 27.72 kB / 3.229 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/7.651, allocations: 320.6 kB / 3.23 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/7.651, allocations: 0 / 3.23 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/7.651, allocations: 12.73 kB / 3.23 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/7.652, allocations: 17.69 kB / 3.23 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/7.652, allocations: 218.3 kB / 3.23 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/7.655, allocations: 1.451 MB / 3.231 GB, free: 230.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/7.655, allocations: 232.6 kB / 3.232 GB, free: 230.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/7.655, allocations: 448 / 3.232 GB, free: 230.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/7.656, allocations: 162 kB / 3.232 GB, free: 230.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.374e-06/7.656, allocations: 6.375 kB / 3.232 GB, free: 230.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003719/7.66, allocations: 1.154 MB / 3.233 GB, free: 230.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/7.66, allocations: 58.5 kB / 3.233 GB, free: 230.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007409/7.66, allocations: 409.8 kB / 3.233 GB, free: 230.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/7.66, allocations: 33.89 kB / 3.233 GB, free: 230.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/7.661, allocations: 234.4 kB / 3.234 GB, free: 230 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/7.661, allocations: 103.8 kB / 3.234 GB, free: 230 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/7.661, allocations: 9 kB / 3.234 GB, free: 230 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001736/7.661, allocations: 358 kB / 3.234 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/7.661, allocations: 140.7 kB / 3.234 GB, free: 229.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/7.662, allocations: 202.9 kB / 3.234 GB, free: 229.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/7.662, allocations: 168.9 kB / 3.235 GB, free: 229.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/7.662, allocations: 3.188 kB / 3.235 GB, free: 229.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001282/7.663, allocations: 0.5069 MB / 3.235 GB, free: 229.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/7.663, allocations: 7.656 kB / 3.235 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/7.663, allocations: 3.281 kB / 3.235 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/7.664, allocations: 80.28 kB / 3.235 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/7.664, allocations: 83.28 kB / 3.235 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/7.666, allocations: 1.775 MB / 3.237 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/7.667, allocations: 25.09 kB / 3.237 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/7.667, allocations: 16.67 kB / 3.237 GB, free: 228.2 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.0003823/7.668, allocations: 192.5 kB / 3.237 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/7.668, allocations: 52.77 kB / 3.237 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/7.669, allocations: 414.6 kB / 3.238 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/7.669, allocations: 3.156 kB / 3.238 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/7.669, allocations: 3.688 kB / 3.238 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/7.669, allocations: 11.88 kB / 3.238 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/7.671, allocations: 1.034 MB / 3.239 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/7.671, allocations: 3.625 kB / 3.239 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/7.671, allocations: 75.45 kB / 3.239 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/7.672, allocations: 74.16 kB / 3.239 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/7.672, allocations: 12.19 kB / 3.239 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/7.673, allocations: 1.566 MB / 3.24 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/7.673, allocations: 0 / 3.24 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/7.675, allocations: 0.6198 MB / 3.241 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/7.675, allocations: 164 kB / 3.241 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/7.675, allocations: 12.67 kB / 3.241 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/7.675, allocations: 16.84 kB / 3.241 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/7.676, allocations: 28.91 kB / 3.241 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/7.676, allocations: 8.938 kB / 3.241 GB, free: 226.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004496/7.676, allocations: 307.8 kB / 3.241 GB, free: 226 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/7.676, allocations: 2.719 kB / 3.241 GB, free: 226 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001101/7.677, allocations: 198.5 kB / 3.242 GB, free: 226 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.004211/7.681, allocations: 2.153 MB / 3.244 GB, free: 225.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001355/7.683, allocations: 467.5 kB / 3.244 GB, free: 224.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/7.683, allocations: 0 / 3.244 GB, free: 224.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/7.683, allocations: 257.8 kB / 3.244 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/7.684, allocations: 219.9 kB / 3.245 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/7.688, allocations: 2.405 MB / 3.247 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/7.689, allocations: 0.8587 MB / 3.248 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005494/7.69, allocations: 91.7 kB / 3.248 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/7.69, allocations: 157.5 kB / 3.248 GB, free: 222.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.044e-06/7.69, allocations: 3.75 kB / 3.248 GB, free: 222.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/7.749, allocations: 24 MB / 3.271 GB, free: 221.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/7.749, allocations: 224 kB / 3.272 GB, free: 221 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.364/11.11, allocations: 0 / 3.272 GB, free: 221 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)