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.851/1.851, allocations: 289.7 MB / 302.3 MB, free: 2.121 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.001313/0.001313, allocations: 181.3 kB / 371.6 MB, free: 3.379 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.942/1.942, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001057/0.001058, allocations: 90.27 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.604e-05/4.612e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3463, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.725/7.072, allocations: 2.073 GB / 3.053 GB, free: 168.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/7.072, allocations: 89.45 kB / 3.053 GB, free: 168.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.089/8.161, allocations: 169.9 MB / 3.219 GB, free: 232.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.032e-06/8.161, allocations: 0.875 kB / 3.219 GB, free: 232.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.825e-05/8.161, allocations: 9.625 kB / 3.219 GB, free: 232.6 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.001394/8.163, allocations: 0.7376 MB / 3.22 GB, free: 232.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/8.163, allocations: 10.36 kB / 3.22 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.418e-05/8.163, allocations: 61.86 kB / 3.22 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/8.164, allocations: 155.4 kB / 3.22 GB, free: 232.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/8.165, allocations: 0.5026 MB / 3.22 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/8.165, allocations: 19.62 kB / 3.22 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/8.165, allocations: 34.27 kB / 3.221 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/8.166, allocations: 309.6 kB / 3.221 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/8.166, allocations: 6.016 kB / 3.221 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/8.166, allocations: 12.08 kB / 3.221 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/8.166, allocations: 10.36 kB / 3.221 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/8.166, allocations: 214.4 kB / 3.221 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/8.169, allocations: 1.457 MB / 3.222 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/8.169, allocations: 221.1 kB / 3.223 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/8.169, allocations: 105.5 kB / 3.223 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/8.169, allocations: 6.5 kB / 3.223 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/8.17, allocations: 158.9 kB / 3.223 GB, free: 230.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.464e-06/8.17, allocations: 3.969 kB / 3.223 GB, free: 230.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003122/8.173, allocations: 1.048 MB / 3.224 GB, free: 230.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/8.173, allocations: 57.19 kB / 3.224 GB, free: 230.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/8.174, allocations: 408 kB / 3.224 GB, free: 230.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/8.174, allocations: 31.17 kB / 3.224 GB, free: 230.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/8.174, allocations: 238.2 kB / 3.225 GB, free: 230.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/8.174, allocations: 107 kB / 3.225 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/8.174, allocations: 8.906 kB / 3.225 GB, free: 230.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001406/8.174, allocations: 355.9 kB / 3.225 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/8.174, allocations: 135.9 kB / 3.225 GB, free: 229.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/8.175, allocations: 200 kB / 3.225 GB, free: 229.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/8.175, allocations: 162.1 kB / 3.226 GB, free: 229.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/8.175, allocations: 3.953 kB / 3.226 GB, free: 229.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001219/8.176, allocations: 0.4992 MB / 3.226 GB, free: 229.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/8.176, allocations: 5.359 kB / 3.226 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/8.176, allocations: 2.562 kB / 3.226 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/8.177, allocations: 82.69 kB / 3.226 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/8.177, allocations: 68.7 kB / 3.226 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/8.179, allocations: 1.717 MB / 3.228 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/8.179, allocations: 30.2 kB / 3.228 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/8.18, allocations: 15.77 kB / 3.228 GB, free: 228.4 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.0001344/8.18, allocations: 127.6 kB / 3.228 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/8.18, allocations: 46.11 kB / 3.228 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/8.181, allocations: 424.2 kB / 3.229 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/8.181, allocations: 4.281 kB / 3.229 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/8.181, allocations: 0.8438 kB / 3.229 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/8.181, allocations: 7.656 kB / 3.229 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/8.183, allocations: 1.023 MB / 3.23 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/8.183, allocations: 5.281 kB / 3.23 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/8.183, allocations: 58.62 kB / 3.23 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000521/8.184, allocations: 112 kB / 3.23 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/8.184, allocations: 9.594 kB / 3.23 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/8.186, allocations: 1.727 MB / 3.231 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/8.186, allocations: 1.719 kB / 3.231 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/8.187, allocations: 0.6066 MB / 3.232 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/8.187, allocations: 156.3 kB / 3.232 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/8.187, allocations: 16.95 kB / 3.232 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/8.187, allocations: 18.41 kB / 3.232 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/8.188, allocations: 20.36 kB / 3.232 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/8.188, allocations: 12.53 kB / 3.232 GB, free: 226.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006065/8.188, allocations: 301.2 kB / 3.232 GB, free: 226.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.7e-07/8.188, allocations: 0.875 kB / 3.232 GB, free: 226.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001177/8.189, allocations: 197.1 kB / 3.233 GB, free: 226.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.003993/8.193, allocations: 2.118 MB / 3.235 GB, free: 225.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001053/8.194, allocations: 439.1 kB / 3.235 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/8.194, allocations: 4.438 kB / 3.235 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005755/8.195, allocations: 268.4 kB / 3.235 GB, free: 225.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/8.196, allocations: 217.1 kB / 3.236 GB, free: 225 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/8.199, allocations: 0.8984 MB / 3.237 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/8.199, allocations: 0.866 MB / 3.237 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004995/8.2, allocations: 90.34 kB / 3.237 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/8.2, allocations: 162.8 kB / 3.238 GB, free: 224.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/8.2, allocations: 3.609 kB / 3.238 GB, free: 224.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05811/8.258, allocations: 26.07 MB / 3.263 GB, free: 223.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/8.258, allocations: 198 kB / 3.263 GB, free: 222.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/11.58, allocations: 4 kB / 3.263 GB, free: 222.9 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)