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.304/2.304, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.001617/0.001617, allocations: 175.4 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.1 MB / 0.571 GB, free: 11.73 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.001211/0.001211, allocations: 98.42 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.555e-05/4.564e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2352, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.523/8.758, allocations: 2.493 GB / 3.383 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/8.759, allocations: 86.64 kB / 3.383 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.976/15.74, allocations: 1.297 GB / 4.68 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.886e-06/15.74, allocations: 0 / 4.68 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008714/15.74, allocations: 97.45 kB / 4.68 GB, free: 113.8 MB / 0.8855 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.01381/15.75, allocations: 3.372 MB / 4.683 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/15.75, allocations: 16.25 kB / 4.683 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001544/15.75, allocations: 331.8 kB / 4.684 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/15.76, allocations: 1.133 MB / 4.685 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/15.78, allocations: 4.732 MB / 4.689 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003127/15.78, allocations: 189 kB / 4.69 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/15.78, allocations: 259.8 kB / 4.69 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009967/15.79, allocations: 3.033 MB / 4.693 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/15.79, allocations: 10.66 kB / 4.693 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005166/15.79, allocations: 102.5 kB / 4.693 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/15.79, allocations: 98.47 kB / 4.693 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008869/15.8, allocations: 2.516 MB / 4.695 GB, free: 110.8 MB / 0.8855 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.03519/15.84, allocations: 13.22 MB / 4.708 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005235/15.84, allocations: 2.328 MB / 4.711 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/15.85, allocations: 0.9554 MB / 4.712 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/15.86, allocations: 4.352 MB / 4.716 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002516/15.87, allocations: 0.9533 MB / 4.717 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002263/15.87, allocations: 191.8 kB / 4.717 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 9.207e-06/15.87, allocations: 0 / 4.717 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01687/15.89, allocations: 4.452 MB / 4.721 GB, free: 102 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/15.89, allocations: 116.8 kB / 4.721 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007146/15.89, allocations: 2.744 MB / 4.724 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007604/15.89, allocations: 62.55 kB / 4.724 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002566/15.9, allocations: 1.511 MB / 4.726 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/15.9, allocations: 0.5173 MB / 4.726 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/15.9, allocations: 42.41 kB / 4.726 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002048/15.9, allocations: 389.7 kB / 4.727 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/15.9, allocations: 0.8839 MB / 4.727 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/15.9, allocations: 1.528 MB / 4.729 GB, free: 99.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/15.91, allocations: 1.148 MB / 4.73 GB, free: 99.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/15.91, allocations: 3 kB / 4.73 GB, free: 99.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01011/15.92, allocations: 2.981 MB / 4.733 GB, free: 98.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001734/15.92, allocations: 7.16 MB / 4.74 GB, free: 91.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.875e-05/15.92, allocations: 26.91 kB / 4.74 GB, free: 91.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004052/15.92, allocations: 449 kB / 4.74 GB, free: 91.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004224/15.93, allocations: 491.7 kB / 4.741 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/15.93, allocations: 2.627 MB / 4.743 GB, free: 89.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00573/15.94, allocations: 229.8 kB / 4.744 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008359/15.94, allocations: 110.5 kB / 4.744 GB, free: 88.94 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/15.94, allocations: 7.688 kB / 4.744 GB, free: 88.93 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008615/15.95, allocations: 2.675 MB / 4.746 GB, free: 87.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.231e-05/15.95, allocations: 14.53 kB / 4.746 GB, free: 87.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003875/15.95, allocations: 466.8 kB / 4.747 GB, free: 87.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003971/15.96, allocations: 476.7 kB / 4.747 GB, free: 87.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/15.96, allocations: 2.63 MB / 4.75 GB, free: 85.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005245/15.97, allocations: 206.6 kB / 4.75 GB, free: 85.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007535/15.97, allocations: 108 kB / 4.75 GB, free: 85.54 MB / 0.8855 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.0008761/15.97, allocations: 238.3 kB / 4.75 GB, free: 85.33 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/15.97, allocations: 313.3 kB / 4.751 GB, free: 85.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007556/15.98, allocations: 2.417 MB / 4.753 GB, free: 84.21 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/15.98, allocations: 25.94 kB / 4.753 GB, free: 84.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/15.98, allocations: 0 / 4.753 GB, free: 84.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005209/15.98, allocations: 2.077 MB / 4.755 GB, free: 83.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/16, allocations: 5.309 MB / 4.76 GB, free: 80.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/16, allocations: 2.156 kB / 4.76 GB, free: 80.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002837/16, allocations: 280 kB / 4.761 GB, free: 80.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/16, allocations: 325.1 kB / 4.761 GB, free: 80.84 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004511/16, allocations: 47.09 kB / 4.761 GB, free: 80.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008603/16.01, allocations: 8.975 MB / 4.77 GB, free: 72.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/16.01, allocations: 7.047 kB / 4.77 GB, free: 72.36 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009733/16.02, allocations: 3.493 MB / 4.773 GB, free: 70.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003492/16.02, allocations: 0.6603 MB / 4.774 GB, free: 70.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/16.03, allocations: 39.19 kB / 4.774 GB, free: 70.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00454/16.03, allocations: 139.1 kB / 4.774 GB, free: 70.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000566/16.03, allocations: 120.5 kB / 4.774 GB, free: 70.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/16.03, allocations: 70.27 kB / 4.774 GB, free: 70.23 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005331/16.04, allocations: 2.086 MB / 4.776 GB, free: 69.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.72e-07/16.04, allocations: 0 / 4.776 GB, free: 69.46 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01017/16.05, allocations: 1.78 MB / 4.778 GB, free: 69.18 MB / 0.8855 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.01442/16.06, allocations: 6.355 MB / 4.784 GB, free: 66.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01447/16.08, allocations: 3.997 MB / 4.788 GB, free: 64.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/16.08, allocations: 448 / 4.788 GB, free: 64.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004341/16.08, allocations: 1.677 MB / 4.79 GB, free: 63.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/16.1, allocations: 1.681 MB / 4.791 GB, free: 63.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/16.11, allocations: 6.49 MB / 4.798 GB, free: 57.85 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/16.12, allocations: 2.447 MB / 4.8 GB, free: 55.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01109/16.13, allocations: 1.825 MB / 4.802 GB, free: 54.77 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003196/16.13, allocations: 1.298 MB / 4.803 GB, free: 53.58 MB / 0.8855 GB Notification: Performance of SimCode: time 1.343e-06/16.13, allocations: 0 / 4.803 GB, free: 53.58 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.06/17.19, allocations: 123.5 MB / 4.924 GB, free: 112.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/17.19, allocations: 218.8 kB / 4.924 GB, free: 112.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.724/25.92, allocations: 1.969 kB / 4.924 GB, free: 112.5 MB / 0.9011 GB