Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.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.System2,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_Boiler_System2",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.526/2.526, allocations: 248.7 MB / 256.2 MB, free: 7.145 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.001455/0.001455, allocations: 191.4 kB / 315.4 MB, free: 4 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.113/2.113, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.001132/0.001131, allocations: 94.42 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.145e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.522/8.739, allocations: 2.493 GB / 3.377 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/8.739, allocations: 88.59 kB / 3.377 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.951/15.69, allocations: 1.289 GB / 4.666 GB, free: 93.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.053e-06/15.69, allocations: 0 / 4.666 GB, free: 93.34 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0007386/15.69, allocations: 99.84 kB / 4.666 GB, free: 93.33 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01333/15.7, allocations: 3.369 MB / 4.669 GB, free: 92.05 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/15.7, allocations: 11.09 kB / 4.669 GB, free: 92.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/15.72, allocations: 1.137 MB / 4.671 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01983/15.74, allocations: 4.746 MB / 4.675 GB, free: 91.22 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/15.74, allocations: 71.94 kB / 4.675 GB, free: 91.22 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/15.74, allocations: 147.6 kB / 4.675 GB, free: 91.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007602/15.74, allocations: 2.389 MB / 4.678 GB, free: 91.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008832/15.75, allocations: 2.72 MB / 4.68 GB, free: 90.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/15.75, allocations: 12.91 kB / 4.68 GB, free: 90.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003982/15.75, allocations: 3.875 kB / 4.68 GB, free: 90.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/15.75, allocations: 99.69 kB / 4.68 GB, free: 90.79 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0326/15.79, allocations: 12.81 MB / 4.693 GB, free: 85.52 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/15.79, allocations: 2.002 MB / 4.695 GB, free: 85.48 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/15.8, allocations: 1.058 MB / 4.696 GB, free: 85.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01481/15.81, allocations: 4.276 MB / 4.7 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002715/15.81, allocations: 0.9389 MB / 4.701 GB, free: 83.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002585/15.82, allocations: 140.2 kB / 4.701 GB, free: 83.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=143): time 1.655e-05/15.82, allocations: 0 / 4.701 GB, free: 83.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147): time 0.02141/15.84, allocations: 4.716 MB / 4.706 GB, free: 82.94 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/15.84, allocations: 118 kB / 4.706 GB, free: 82.82 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/15.84, allocations: 2.392 MB / 4.708 GB, free: 82.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007033/15.84, allocations: 29.33 kB / 4.708 GB, free: 82.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001919/15.85, allocations: 1.509 MB / 4.71 GB, free: 82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009408/15.85, allocations: 0.4951 MB / 4.71 GB, free: 81.68 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/15.85, allocations: 2.188 kB / 4.71 GB, free: 81.68 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001657/15.85, allocations: 394.5 kB / 4.711 GB, free: 81.37 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/15.85, allocations: 0.9133 MB / 4.711 GB, free: 81.36 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/15.85, allocations: 1.537 MB / 4.713 GB, free: 80.63 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/15.86, allocations: 1.272 MB / 4.714 GB, free: 80.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-05/15.86, allocations: 6.5 kB / 4.714 GB, free: 80.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01057/15.87, allocations: 2.984 MB / 4.717 GB, free: 80.37 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001775/15.87, allocations: 7.072 MB / 4.724 GB, free: 72.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.249e-05/15.87, allocations: 23.67 kB / 4.724 GB, free: 72.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003536/15.87, allocations: 407.3 kB / 4.724 GB, free: 72.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/15.88, allocations: 496 kB / 4.725 GB, free: 72.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/15.88, allocations: 2.632 MB / 4.728 GB, free: 71.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00543/15.89, allocations: 183.3 kB / 4.728 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006898/15.89, allocations: 117.4 kB / 4.728 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/15.89, allocations: 3.469 kB / 4.728 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008521/15.9, allocations: 2.538 MB / 4.73 GB, free: 70.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-05/15.9, allocations: 22.23 kB / 4.73 GB, free: 70.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/15.9, allocations: 424.3 kB / 4.731 GB, free: 70.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003856/15.9, allocations: 482.4 kB / 4.731 GB, free: 70.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00463/15.91, allocations: 2.624 MB / 4.734 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004853/15.91, allocations: 155 kB / 4.734 GB, free: 69.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005656/15.91, allocations: 107.7 kB / 4.734 GB, free: 69.06 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008022/15.91, allocations: 169.4 kB / 4.734 GB, free: 68.94 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006764/15.92, allocations: 2.011 MB / 4.736 GB, free: 68.67 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/15.92, allocations: 288.7 kB / 4.736 GB, free: 68.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007456/15.93, allocations: 2.357 MB / 4.739 GB, free: 68.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/15.93, allocations: 18.62 kB / 4.739 GB, free: 68.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/15.93, allocations: 0 / 4.739 GB, free: 68.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005328/15.94, allocations: 2.06 MB / 4.741 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/15.95, allocations: 5.018 MB / 4.746 GB, free: 67.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/15.95, allocations: 0 / 4.746 GB, free: 67.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/15.95, allocations: 276 kB / 4.746 GB, free: 67.33 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/15.95, allocations: 322.1 kB / 4.746 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/15.95, allocations: 28.83 kB / 4.746 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008099/15.96, allocations: 8.731 MB / 4.755 GB, free: 59.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/15.96, allocations: 7.078 kB / 4.755 GB, free: 59.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008966/15.97, allocations: 3.456 MB / 4.758 GB, free: 59.36 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/15.97, allocations: 0.6379 MB / 4.759 GB, free: 59.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009121/15.98, allocations: 11.78 kB / 4.759 GB, free: 59.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/15.98, allocations: 111.7 kB / 4.759 GB, free: 59.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/15.98, allocations: 117.1 kB / 4.759 GB, free: 59.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002672/15.98, allocations: 66.42 kB / 4.759 GB, free: 59.09 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004478/15.98, allocations: 1.779 MB / 4.761 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.062e-06/15.98, allocations: 0 / 4.761 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01122/16, allocations: 1.68 MB / 4.762 GB, free: 58.86 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01473/16.01, allocations: 6.324 MB / 4.769 GB, free: 56.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01203/16.02, allocations: 3.898 MB / 4.772 GB, free: 56.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/16.02, allocations: 8.625 kB / 4.772 GB, free: 56.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003652/16.03, allocations: 1.626 MB / 4.774 GB, free: 55.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01226/16.04, allocations: 1.446 MB / 4.775 GB, free: 55.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/16.06, allocations: 6.297 MB / 4.782 GB, free: 53.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003132/16.06, allocations: 2.454 MB / 4.784 GB, free: 52.29 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01076/16.07, allocations: 1.702 MB / 4.786 GB, free: 52.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003417/16.08, allocations: 1.304 MB / 4.787 GB, free: 51.07 MB / 0.8698 GB Notification: Performance of SimCode: time 1.051e-06/16.08, allocations: 0 / 4.787 GB, free: 51.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2511/16.33, allocations: 100.2 MB / 4.885 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/16.33, allocations: 162.6 kB / 4.885 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/23.56, allocations: 0 / 4.885 GB, free: 2.145 MB / 0.8855 GB