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.244/2.244, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 176.8 kB / 325.5 MB, free: 2.914 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.48/2.48, allocations: 205.4 MB / 0.5764 GB, free: 21.16 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.001103/0.001103, allocations: 97.89 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.000491, allocations: 9.938 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.233, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.007/8.24, allocations: 2.493 GB / 3.392 GB, free: 27.18 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/8.241, allocations: 90.31 kB / 3.392 GB, free: 27.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.961/15.2, allocations: 1.3 GB / 4.692 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.807e-06/15.2, allocations: 0 / 4.692 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007002/15.2, allocations: 94.77 kB / 4.692 GB, free: 105.4 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.01791/15.22, allocations: 4.184 MB / 4.696 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/15.22, allocations: 16.03 kB / 4.696 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001719/15.22, allocations: 333 kB / 4.696 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/15.23, allocations: 1.139 MB / 4.697 GB, free: 99.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/15.25, allocations: 4.776 MB / 4.702 GB, free: 94.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/15.25, allocations: 188.5 kB / 4.702 GB, free: 94.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/15.25, allocations: 256 kB / 4.702 GB, free: 94.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008819/15.26, allocations: 3.089 MB / 4.705 GB, free: 91.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/15.26, allocations: 7.906 kB / 4.705 GB, free: 91.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004432/15.26, allocations: 96 kB / 4.705 GB, free: 91.11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/15.26, allocations: 104.3 kB / 4.706 GB, free: 91 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008254/15.27, allocations: 2.586 MB / 4.708 GB, free: 88.4 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0311/15.3, allocations: 13.25 MB / 4.721 GB, free: 74.55 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005207/15.31, allocations: 2.355 MB / 4.723 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/15.32, allocations: 4.353 MB / 4.728 GB, free: 67.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002519/15.32, allocations: 0.9735 MB / 4.728 GB, free: 66.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002097/15.33, allocations: 194.2 kB / 4.729 GB, free: 66.35 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 6.151e-06/15.33, allocations: 4 kB / 4.729 GB, free: 66.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01996/15.35, allocations: 5.733 MB / 4.734 GB, free: 60.44 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/15.35, allocations: 116.1 kB / 4.734 GB, free: 60.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006509/15.35, allocations: 2.788 MB / 4.737 GB, free: 57.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006456/15.35, allocations: 61.7 kB / 4.737 GB, free: 57.44 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/15.36, allocations: 1.506 MB / 4.739 GB, free: 55.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009248/15.36, allocations: 0.5161 MB / 4.739 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/15.36, allocations: 40 kB / 4.739 GB, free: 55.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001628/15.36, allocations: 398.2 kB / 4.74 GB, free: 54.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/15.36, allocations: 0.9216 MB / 4.74 GB, free: 54.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/15.36, allocations: 1.565 MB / 4.742 GB, free: 52.19 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00344/15.37, allocations: 1.189 MB / 4.743 GB, free: 51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/15.37, allocations: 7.938 kB / 4.743 GB, free: 50.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01081/15.38, allocations: 3.069 MB / 4.746 GB, free: 47.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001409/15.38, allocations: 7.163 MB / 4.753 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.857e-05/15.38, allocations: 16 kB / 4.753 GB, free: 40.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/15.38, allocations: 465.2 kB / 4.754 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/15.39, allocations: 491.2 kB / 4.754 GB, free: 39.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005693/15.39, allocations: 2.738 MB / 4.757 GB, free: 36.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005806/15.4, allocations: 223.3 kB / 4.757 GB, free: 36.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008533/15.4, allocations: 119.9 kB / 4.757 GB, free: 36.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/15.4, allocations: 4 kB / 4.757 GB, free: 36.06 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009054/15.41, allocations: 2.758 MB / 4.76 GB, free: 33.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.569e-05/15.41, allocations: 23.94 kB / 4.76 GB, free: 33.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004239/15.41, allocations: 477.5 kB / 4.76 GB, free: 32.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/15.42, allocations: 487.2 kB / 4.761 GB, free: 32.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/15.42, allocations: 2.734 MB / 4.763 GB, free: 29.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/15.43, allocations: 207.4 kB / 4.764 GB, free: 29.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005852/15.43, allocations: 112 kB / 4.764 GB, free: 29.12 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.003021/15.43, allocations: 1.094 MB / 4.765 GB, free: 28.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/15.43, allocations: 304.2 kB / 4.765 GB, free: 27.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007671/15.44, allocations: 2.458 MB / 4.767 GB, free: 25.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/15.44, allocations: 23.98 kB / 4.767 GB, free: 25.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/15.44, allocations: 4 kB / 4.767 GB, free: 25.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005597/15.45, allocations: 2.123 MB / 4.77 GB, free: 22.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/15.46, allocations: 5.34 MB / 4.775 GB, free: 17.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/15.46, allocations: 0 / 4.775 GB, free: 17.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/15.46, allocations: 291.6 kB / 4.775 GB, free: 17.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/15.46, allocations: 293.1 kB / 4.775 GB, free: 16.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002549/15.46, allocations: 51.91 kB / 4.775 GB, free: 16.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007741/15.47, allocations: 8.879 MB / 4.784 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/15.47, allocations: 3.984 kB / 4.784 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009346/15.48, allocations: 3.542 MB / 4.787 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/15.48, allocations: 0.6649 MB / 4.788 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009772/15.49, allocations: 36 kB / 4.788 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/15.49, allocations: 143.7 kB / 4.788 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004715/15.49, allocations: 113.1 kB / 4.788 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/15.49, allocations: 71.94 kB / 4.788 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00499/15.5, allocations: 2.119 MB / 4.791 GB, free: 448 kB / 0.8855 GB Notification: Performance of sort global known variables: time 6.92e-07/15.5, allocations: 4 kB / 4.791 GB, free: 444 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01049/15.51, allocations: 1.785 MB / 4.792 GB, free: 14.65 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 135 * 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%) 3,(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.02406/15.53, allocations: 6.443 MB / 4.799 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01705/15.55, allocations: 4.043 MB / 4.803 GB, free: 4.168 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/15.55, allocations: 6.25 kB / 4.803 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004391/15.55, allocations: 1.675 MB / 4.804 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01438/15.57, allocations: 1.68 MB / 4.806 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7601/16.33, allocations: 21.05 MB / 4.826 GB, free: 129.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008227/16.33, allocations: 2.452 MB / 4.829 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01259/16.35, allocations: 1.161 MB / 4.83 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005892/16.35, allocations: 1.334 MB / 4.831 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of SimCode: time 1.603e-06/16.35, allocations: 0 / 4.831 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.28/16.63, allocations: 115.2 MB / 4.944 GB, free: 124 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/16.63, allocations: 247 kB / 4.944 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/24, allocations: 4 kB / 4.944 GB, free: 123.8 MB / 0.9011 GB