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.479/2.479, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.00153/0.001529, allocations: 180.8 kB / 360.6 MB, free: 7.246 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.111/2.111, allocations: 205.3 MB / 0.6191 GB, free: 12.15 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.001146/0.001146, allocations: 90.98 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.888e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8311/0.8312, allocations: 115.2 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.991/6.822, allocations: 2.071 GB / 3.035 GB, free: 46.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/6.822, allocations: 86.89 kB / 3.035 GB, free: 46.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.212/8.034, allocations: 168 MB / 3.199 GB, free: 272.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.482e-06/8.034, allocations: 0 / 3.199 GB, free: 272.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.859e-05/8.034, allocations: 8 kB / 3.199 GB, free: 272.5 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.001481/8.036, allocations: 0.7364 MB / 3.2 GB, free: 271.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/8.036, allocations: 8.031 kB / 3.2 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/8.037, allocations: 155.1 kB / 3.2 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/8.039, allocations: 0.496 MB / 3.2 GB, free: 271.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/8.039, allocations: 11.94 kB / 3.2 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/8.039, allocations: 16.52 kB / 3.2 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005376/8.039, allocations: 201.1 kB / 3.2 GB, free: 270.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/8.04, allocations: 278.5 kB / 3.201 GB, free: 270.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/8.04, allocations: 0.9375 kB / 3.201 GB, free: 270.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/8.04, allocations: 0 / 3.201 GB, free: 270.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/8.04, allocations: 8.562 kB / 3.201 GB, free: 270.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/8.043, allocations: 1.391 MB / 3.202 GB, free: 269 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/8.043, allocations: 202.9 kB / 3.202 GB, free: 268.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/8.044, allocations: 108.8 kB / 3.202 GB, free: 268.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/8.044, allocations: 4 kB / 3.202 GB, free: 268.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/8.044, allocations: 155.7 kB / 3.203 GB, free: 268.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 3.015e-06/8.044, allocations: 0 / 3.203 GB, free: 268.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003774/8.048, allocations: 0.9959 MB / 3.204 GB, free: 267.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/8.048, allocations: 65.03 kB / 3.204 GB, free: 267.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/8.048, allocations: 385.2 kB / 3.204 GB, free: 267 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/8.048, allocations: 25.7 kB / 3.204 GB, free: 267 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/8.049, allocations: 228.5 kB / 3.204 GB, free: 266.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/8.049, allocations: 106.5 kB / 3.204 GB, free: 266.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/8.049, allocations: 0 / 3.204 GB, free: 266.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/8.049, allocations: 350.8 kB / 3.205 GB, free: 266.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/8.049, allocations: 124.8 kB / 3.205 GB, free: 266.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/8.049, allocations: 190.5 kB / 3.205 GB, free: 266 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/8.05, allocations: 171.4 kB / 3.205 GB, free: 265.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/8.05, allocations: 0 / 3.205 GB, free: 265.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001427/8.051, allocations: 485.2 kB / 3.206 GB, free: 265.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/8.051, allocations: 4 kB / 3.206 GB, free: 265.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/8.052, allocations: 3.938 kB / 3.206 GB, free: 265.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/8.052, allocations: 88.92 kB / 3.206 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/8.053, allocations: 67.91 kB / 3.206 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/8.055, allocations: 1.677 MB / 3.207 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/8.055, allocations: 23.92 kB / 3.207 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/8.056, allocations: 19.56 kB / 3.207 GB, free: 263.3 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.0001485/8.056, allocations: 112.9 kB / 3.208 GB, free: 263.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001081/8.057, allocations: 369.8 kB / 3.208 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/8.057, allocations: 43.48 kB / 3.208 GB, free: 262.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/8.058, allocations: 384.8 kB / 3.208 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/8.058, allocations: 4 kB / 3.208 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/8.058, allocations: 128 / 3.208 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/8.058, allocations: 15.98 kB / 3.208 GB, free: 262.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/8.06, allocations: 0.9576 MB / 3.209 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/8.06, allocations: 0 / 3.209 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/8.061, allocations: 64 kB / 3.209 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007476/8.062, allocations: 100.8 kB / 3.209 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/8.062, allocations: 4 kB / 3.209 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/8.064, allocations: 1.654 MB / 3.211 GB, free: 259.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/8.064, allocations: 0 / 3.211 GB, free: 259.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/8.065, allocations: 0.5896 MB / 3.212 GB, free: 258.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/8.065, allocations: 156.5 kB / 3.212 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/8.066, allocations: 7.984 kB / 3.212 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/8.066, allocations: 12.12 kB / 3.212 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/8.066, allocations: 23.97 kB / 3.212 GB, free: 258.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/8.066, allocations: 15.98 kB / 3.212 GB, free: 258.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004195/8.067, allocations: 282.9 kB / 3.212 GB, free: 258.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/8.067, allocations: 0 / 3.212 GB, free: 258.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001014/8.068, allocations: 183.9 kB / 3.212 GB, free: 258.2 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.003497/8.071, allocations: 2.155 MB / 3.214 GB, free: 256.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001204/8.073, allocations: 429.3 kB / 3.215 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/8.073, allocations: 0 / 3.215 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/8.073, allocations: 265.9 kB / 3.215 GB, free: 255.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/8.075, allocations: 214.1 kB / 3.215 GB, free: 255.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/8.077, allocations: 0.8526 MB / 3.216 GB, free: 254.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/8.078, allocations: 0.866 MB / 3.217 GB, free: 253.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006014/8.078, allocations: 92.3 kB / 3.217 GB, free: 253.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/8.079, allocations: 155.4 kB / 3.217 GB, free: 253.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/8.079, allocations: 0 / 3.217 GB, free: 253.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06922/8.148, allocations: 17.19 MB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/8.148, allocations: 162.2 kB / 3.234 GB, free: 235.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/11.21, allocations: 3.938 kB / 3.234 GB, free: 235.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)