Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.179/2.179, allocations: 248.7 MB / 256.2 MB, free: 7.062 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.001562/0.001561, allocations: 188.8 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 90.75 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.944e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.576/7.8, allocations: 2.19 GB / 3.075 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/7.801, allocations: 93.59 kB / 3.075 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5528/8.354, allocations: 165.5 MB / 3.236 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/8.354, allocations: 0 / 3.236 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.372e-05/8.354, allocations: 11.98 kB / 3.236 GB, free: 1.039 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.001424/8.355, allocations: 0.7287 MB / 3.237 GB, free: 268 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/8.355, allocations: 8.031 kB / 3.237 GB, free: 260 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/8.357, allocations: 155.2 kB / 3.237 GB, free: 104 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6035/8.96, allocations: 0.4889 MB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/8.96, allocations: 13.02 kB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/8.96, allocations: 17.75 kB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000729/8.961, allocations: 200.1 kB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/8.962, allocations: 275.9 kB / 3.238 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/8.962, allocations: 0.9688 kB / 3.238 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/8.962, allocations: 3.172 kB / 3.238 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/8.962, allocations: 10.28 kB / 3.238 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/8.966, allocations: 1.397 MB / 3.239 GB, free: 259 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/8.966, allocations: 203.3 kB / 3.24 GB, free: 259 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/8.967, allocations: 98.88 kB / 3.24 GB, free: 259 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/8.967, allocations: 2.125 kB / 3.24 GB, free: 259 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/8.967, allocations: 148.5 kB / 3.24 GB, free: 259 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 3.657e-06/8.967, allocations: 0.7812 kB / 3.24 GB, free: 259 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.004516/8.972, allocations: 0.9975 MB / 3.241 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/8.972, allocations: 54.88 kB / 3.241 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/8.972, allocations: 379.9 kB / 3.241 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/8.973, allocations: 27.05 kB / 3.241 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/8.973, allocations: 232.9 kB / 3.242 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/8.973, allocations: 107.7 kB / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.462e-05/8.973, allocations: 0 / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001224/8.973, allocations: 350.4 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/8.974, allocations: 127.8 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/8.974, allocations: 183.2 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/8.974, allocations: 155.2 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/8.974, allocations: 1.281 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001664/8.976, allocations: 477.5 kB / 3.243 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/8.976, allocations: 4.875 kB / 3.243 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/8.976, allocations: 2.297 kB / 3.243 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/8.977, allocations: 80.41 kB / 3.243 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/8.977, allocations: 68.97 kB / 3.243 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/8.98, allocations: 1.693 MB / 3.245 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/8.981, allocations: 20.83 kB / 3.245 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/8.981, allocations: 14.3 kB / 3.245 GB, free: 256.5 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.0001818/8.981, allocations: 116.2 kB / 3.245 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001362/8.983, allocations: 363.8 kB / 3.245 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/8.983, allocations: 46.14 kB / 3.245 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/8.984, allocations: 396.2 kB / 3.246 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/8.984, allocations: 3.188 kB / 3.246 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/8.984, allocations: 3.312 kB / 3.246 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/8.984, allocations: 3 kB / 3.246 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/8.987, allocations: 0.9564 MB / 3.247 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/8.987, allocations: 1.156 kB / 3.247 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/8.988, allocations: 61.97 kB / 3.247 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008238/8.989, allocations: 105.8 kB / 3.247 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/8.989, allocations: 4.344 kB / 3.247 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/8.991, allocations: 1.659 MB / 3.248 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/8.991, allocations: 3.562 kB / 3.248 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/8.993, allocations: 0.569 MB / 3.249 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/8.993, allocations: 156.9 kB / 3.249 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/8.994, allocations: 5.484 kB / 3.249 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/8.994, allocations: 17.45 kB / 3.249 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/8.994, allocations: 30.8 kB / 3.249 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/8.994, allocations: 12.88 kB / 3.249 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005266/8.995, allocations: 278.8 kB / 3.249 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.31e-07/8.995, allocations: 0 / 3.249 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001329/8.996, allocations: 171 kB / 3.25 GB, free: 254.3 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.004268/9.001, allocations: 2.135 MB / 3.252 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001465/9.002, allocations: 420.7 kB / 3.252 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/9.002, allocations: 6.359 kB / 3.252 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/9.003, allocations: 258.9 kB / 3.252 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/9.005, allocations: 215.2 kB / 3.252 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/9.008, allocations: 0.8688 MB / 3.253 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/9.009, allocations: 0.8614 MB / 3.254 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007811/9.01, allocations: 81.48 kB / 3.254 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/9.01, allocations: 153.3 kB / 3.254 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.252e-06/9.01, allocations: 3.391 kB / 3.254 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/9.112, allocations: 17.13 MB / 3.271 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/9.113, allocations: 166.2 kB / 3.271 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/12.29, allocations: 5.25 kB / 3.271 GB, free: 251.5 MB / 0.8698 GB