Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 183.7 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 81.3 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.79e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2226, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.003/6.225, allocations: 2.191 GB / 3.076 GB, free: 217 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/6.226, allocations: 91.94 kB / 3.076 GB, free: 217 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3265/6.552, allocations: 165.4 MB / 3.238 GB, free: 48.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/6.552, allocations: 0 / 3.238 GB, free: 48.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.61e-05/6.552, allocations: 12 kB / 3.238 GB, free: 48.37 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001503/6.554, allocations: 0.7288 MB / 3.238 GB, free: 47.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/6.554, allocations: 8.031 kB / 3.238 GB, free: 47.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/6.555, allocations: 159.2 kB / 3.239 GB, free: 47.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/6.556, allocations: 499.6 kB / 3.239 GB, free: 46.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/6.556, allocations: 15.98 kB / 3.239 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/6.556, allocations: 23.94 kB / 3.239 GB, free: 46.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003774/6.557, allocations: 193.5 kB / 3.239 GB, free: 46.68 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/6.557, allocations: 280.9 kB / 3.239 GB, free: 46.39 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/6.557, allocations: 0 / 3.239 GB, free: 46.39 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/6.557, allocations: 7.984 kB / 3.239 GB, free: 46.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/6.557, allocations: 8.562 kB / 3.239 GB, free: 46.37 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/6.559, allocations: 1.396 MB / 3.241 GB, free: 44.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/6.559, allocations: 203.1 kB / 3.241 GB, free: 44.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/6.559, allocations: 96.84 kB / 3.241 GB, free: 44.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/6.559, allocations: 4 kB / 3.241 GB, free: 44.54 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/6.56, allocations: 159.1 kB / 3.241 GB, free: 44.37 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.714e-06/6.56, allocations: 0 / 3.241 GB, free: 44.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002358/6.562, allocations: 0.9899 MB / 3.242 GB, free: 43.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/6.562, allocations: 51.41 kB / 3.242 GB, free: 43.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/6.562, allocations: 389.1 kB / 3.243 GB, free: 42.87 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/6.562, allocations: 25.7 kB / 3.243 GB, free: 42.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/6.563, allocations: 236.5 kB / 3.243 GB, free: 42.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/6.563, allocations: 106.5 kB / 3.243 GB, free: 42.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/6.563, allocations: 0 / 3.243 GB, free: 42.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/6.563, allocations: 358.7 kB / 3.243 GB, free: 42.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/6.563, allocations: 124.8 kB / 3.244 GB, free: 42.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/6.563, allocations: 185.5 kB / 3.244 GB, free: 41.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/6.563, allocations: 147.7 kB / 3.244 GB, free: 41.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/6.563, allocations: 0 / 3.244 GB, free: 41.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007568/6.564, allocations: 469.8 kB / 3.244 GB, free: 41.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/6.564, allocations: 4 kB / 3.244 GB, free: 41.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/6.564, allocations: 11.98 kB / 3.244 GB, free: 41.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/6.565, allocations: 84.91 kB / 3.244 GB, free: 41.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/6.565, allocations: 67.91 kB / 3.244 GB, free: 41.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/6.566, allocations: 1.701 MB / 3.246 GB, free: 39.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/6.567, allocations: 16.05 kB / 3.246 GB, free: 39.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/6.567, allocations: 16 kB / 3.246 GB, free: 39.18 MB / 0.8698 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.000102/6.567, allocations: 112.9 kB / 3.246 GB, free: 39.07 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006142/6.567, allocations: 367 kB / 3.247 GB, free: 38.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/6.567, allocations: 43.53 kB / 3.247 GB, free: 38.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006755/6.568, allocations: 395.6 kB / 3.247 GB, free: 38.26 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/6.568, allocations: 4 kB / 3.247 GB, free: 38.26 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/6.568, allocations: 8 kB / 3.247 GB, free: 38.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.568, allocations: 0 / 3.247 GB, free: 38.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/6.569, allocations: 0.9497 MB / 3.248 GB, free: 37.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/6.569, allocations: 4 kB / 3.248 GB, free: 37.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/6.57, allocations: 59.94 kB / 3.248 GB, free: 37.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/6.57, allocations: 112.7 kB / 3.248 GB, free: 37.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/6.57, allocations: 7.984 kB / 3.248 GB, free: 37.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/6.571, allocations: 1.658 MB / 3.25 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/6.571, allocations: 0 / 3.25 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/6.572, allocations: 0.5808 MB / 3.25 GB, free: 34.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/6.572, allocations: 156.5 kB / 3.25 GB, free: 34.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/6.572, allocations: 4 kB / 3.25 GB, free: 34.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/6.573, allocations: 20.05 kB / 3.25 GB, free: 34.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/6.573, allocations: 27.92 kB / 3.25 GB, free: 34.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/6.573, allocations: 19.98 kB / 3.251 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002531/6.573, allocations: 275 kB / 3.251 GB, free: 34.17 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.573, allocations: 0 / 3.251 GB, free: 34.17 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007074/6.574, allocations: 168 kB / 3.251 GB, free: 34.01 MB / 0.8698 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.002301/6.576, allocations: 2.138 MB / 3.253 GB, free: 31.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007353/6.577, allocations: 417.8 kB / 3.253 GB, free: 31.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/6.577, allocations: 320 / 3.253 GB, free: 31.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/6.577, allocations: 257.7 kB / 3.254 GB, free: 31.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/6.578, allocations: 213.1 kB / 3.254 GB, free: 31.01 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/6.58, allocations: 0.872 MB / 3.255 GB, free: 30.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/6.58, allocations: 0.862 MB / 3.256 GB, free: 29.21 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003426/6.58, allocations: 88.22 kB / 3.256 GB, free: 29.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/6.581, allocations: 155.4 kB / 3.256 GB, free: 28.97 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/6.581, allocations: 0 / 3.256 GB, free: 28.97 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/6.615, allocations: 17.13 MB / 3.273 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/6.615, allocations: 166.2 kB / 3.273 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/9.231, allocations: 4.031 kB / 3.273 GB, free: 11.71 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)