Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 285.4 MB / 298 MB, free: 5.961 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.001111/0.00111, allocations: 180.8 kB / 366.4 MB, free: 2.07 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.876/1.876, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.001068/0.001068, allocations: 81.41 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.338e-05/5.35e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9291/0.9292, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.029/6.958, allocations: 2.072 GB / 3.043 GB, free: 21.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/6.958, allocations: 92.19 kB / 3.043 GB, free: 21.65 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.131/8.089, allocations: 169.9 MB / 3.209 GB, free: 242.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.142e-06/8.089, allocations: 4 kB / 3.209 GB, free: 242.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.419e-05/8.089, allocations: 12 kB / 3.209 GB, free: 242.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.001925/8.091, allocations: 0.7366 MB / 3.21 GB, free: 241.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/8.091, allocations: 12.03 kB / 3.21 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/8.091, allocations: 66.53 kB / 3.21 GB, free: 241.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/8.093, allocations: 147.2 kB / 3.21 GB, free: 241.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/8.094, allocations: 0.4895 MB / 3.211 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/8.094, allocations: 28.56 kB / 3.211 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/8.094, allocations: 31.94 kB / 3.211 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/8.095, allocations: 315.7 kB / 3.211 GB, free: 240.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/8.095, allocations: 0 / 3.211 GB, free: 240.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/8.095, allocations: 12 kB / 3.211 GB, free: 240.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/8.095, allocations: 8.562 kB / 3.211 GB, free: 240.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/8.095, allocations: 214.1 kB / 3.211 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/8.097, allocations: 1.455 MB / 3.213 GB, free: 238.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/8.098, allocations: 224.4 kB / 3.213 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/8.098, allocations: 104.8 kB / 3.213 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/8.098, allocations: 7.953 kB / 3.213 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/8.098, allocations: 157.9 kB / 3.213 GB, free: 238.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.915e-06/8.098, allocations: 0 / 3.213 GB, free: 238.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.002793/8.101, allocations: 1.061 MB / 3.214 GB, free: 237.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/8.101, allocations: 55.41 kB / 3.214 GB, free: 237 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/8.102, allocations: 407.1 kB / 3.215 GB, free: 236.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/8.102, allocations: 29.7 kB / 3.215 GB, free: 236.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/8.102, allocations: 240.3 kB / 3.215 GB, free: 236.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/8.102, allocations: 106.4 kB / 3.215 GB, free: 236.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/8.102, allocations: 8 kB / 3.215 GB, free: 236.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001216/8.102, allocations: 366.7 kB / 3.215 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/8.102, allocations: 136.8 kB / 3.215 GB, free: 235.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/8.103, allocations: 194.3 kB / 3.216 GB, free: 235.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/8.103, allocations: 160.4 kB / 3.216 GB, free: 235.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/8.103, allocations: 4 kB / 3.216 GB, free: 235.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000935/8.104, allocations: 0.4932 MB / 3.216 GB, free: 234.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/8.104, allocations: 12.94 kB / 3.216 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/8.104, allocations: 0 / 3.216 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000349/8.104, allocations: 84.75 kB / 3.216 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/8.105, allocations: 63.91 kB / 3.216 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/8.106, allocations: 1.725 MB / 3.218 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/8.106, allocations: 28.08 kB / 3.218 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/8.107, allocations: 12 kB / 3.218 GB, free: 232.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.0001152/8.107, allocations: 120.9 kB / 3.218 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/8.107, allocations: 51.44 kB / 3.218 GB, free: 232.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/8.108, allocations: 418.9 kB / 3.219 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/8.108, allocations: 4 kB / 3.219 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/8.108, allocations: 0 / 3.219 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/8.108, allocations: 3.984 kB / 3.219 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/8.109, allocations: 1.035 MB / 3.22 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/8.109, allocations: 0 / 3.22 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/8.109, allocations: 63.84 kB / 3.22 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/8.11, allocations: 104.8 kB / 3.22 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/8.11, allocations: 15.95 kB / 3.22 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/8.111, allocations: 1.721 MB / 3.222 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/8.111, allocations: 4.031 kB / 3.222 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/8.112, allocations: 0.6042 MB / 3.222 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/8.113, allocations: 148.6 kB / 3.222 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/8.113, allocations: 12 kB / 3.222 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/8.113, allocations: 31.78 kB / 3.222 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/8.113, allocations: 15.97 kB / 3.222 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/8.113, allocations: 12 kB / 3.222 GB, free: 228.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003766/8.114, allocations: 305.2 kB / 3.223 GB, free: 227.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/8.114, allocations: 4 kB / 3.223 GB, free: 227.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001039/8.115, allocations: 192 kB / 3.223 GB, free: 227.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.003079/8.118, allocations: 2.104 MB / 3.225 GB, free: 225.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007749/8.119, allocations: 438.7 kB / 3.225 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/8.119, allocations: 0 / 3.225 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/8.119, allocations: 282.3 kB / 3.226 GB, free: 224.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/8.12, allocations: 223 kB / 3.226 GB, free: 224.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/8.122, allocations: 0.8865 MB / 3.227 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/8.122, allocations: 0.8737 MB / 3.228 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004599/8.123, allocations: 88.31 kB / 3.228 GB, free: 222.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/8.123, allocations: 159.4 kB / 3.228 GB, free: 222.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.044e-06/8.123, allocations: 0 / 3.228 GB, free: 222.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/8.172, allocations: 26.09 MB / 3.253 GB, free: 196.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/8.173, allocations: 214.1 kB / 3.253 GB, free: 196.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/11.34, allocations: 0 / 3.253 GB, free: 196.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)