Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 178.4 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.489/2.489, allocations: 205.4 MB / 0.5766 GB, free: 20.67 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 98.67 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004605, allocations: 14.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.451/7.65, allocations: 2.493 GB / 3.392 GB, free: 24.18 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/7.651, allocations: 88.62 kB / 3.392 GB, free: 24.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.829/14.48, allocations: 1.3 GB / 4.692 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/14.48, allocations: 0 / 4.692 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006024/14.48, allocations: 95.64 kB / 4.692 GB, free: 104.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.01655/14.5, allocations: 4.177 MB / 4.696 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/14.5, allocations: 12.03 kB / 4.696 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/14.51, allocations: 1.135 MB / 4.697 GB, free: 99.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0177/14.53, allocations: 4.775 MB / 4.702 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/14.53, allocations: 192.5 kB / 4.702 GB, free: 94.08 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006825/14.53, allocations: 247.9 kB / 4.702 GB, free: 93.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0081/14.53, allocations: 3.089 MB / 4.705 GB, free: 90.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/14.53, allocations: 15.84 kB / 4.705 GB, free: 90.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/14.54, allocations: 99.98 kB / 4.705 GB, free: 90.47 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/14.54, allocations: 96.39 kB / 4.705 GB, free: 90.38 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007491/14.54, allocations: 2.59 MB / 4.708 GB, free: 87.77 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.02927/14.57, allocations: 13.24 MB / 4.721 GB, free: 73.93 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/14.58, allocations: 2.358 MB / 4.723 GB, free: 71.48 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/14.59, allocations: 4.361 MB / 4.727 GB, free: 66.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002484/14.59, allocations: 0.9735 MB / 4.728 GB, free: 65.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002075/14.6, allocations: 194.2 kB / 4.728 GB, free: 65.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 5.44e-06/14.6, allocations: 0 / 4.728 GB, free: 65.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01908/14.61, allocations: 5.73 MB / 4.734 GB, free: 59.81 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/14.61, allocations: 128.1 kB / 4.734 GB, free: 59.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005924/14.62, allocations: 2.78 MB / 4.737 GB, free: 56.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006703/14.62, allocations: 65.69 kB / 4.737 GB, free: 56.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/14.62, allocations: 1.51 MB / 4.738 GB, free: 55.28 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008323/14.62, allocations: 0.5083 MB / 4.739 GB, free: 54.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/14.62, allocations: 40 kB / 4.739 GB, free: 54.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001539/14.62, allocations: 394.2 kB / 4.739 GB, free: 54.34 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/14.63, allocations: 0.9255 MB / 4.74 GB, free: 53.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/14.63, allocations: 1.565 MB / 4.742 GB, free: 51.56 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/14.63, allocations: 1.185 MB / 4.743 GB, free: 50.37 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/14.63, allocations: 7.938 kB / 4.743 GB, free: 50.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01005/14.64, allocations: 3.064 MB / 4.746 GB, free: 47.28 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001447/14.65, allocations: 7.162 MB / 4.753 GB, free: 39.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-05/14.65, allocations: 20 kB / 4.753 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004464/14.65, allocations: 461.2 kB / 4.753 GB, free: 39.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/14.65, allocations: 499.2 kB / 4.754 GB, free: 38.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/14.66, allocations: 2.739 MB / 4.756 GB, free: 35.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/14.66, allocations: 231.3 kB / 4.757 GB, free: 35.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/14.67, allocations: 115.9 kB / 4.757 GB, free: 35.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/14.67, allocations: 4 kB / 4.757 GB, free: 35.43 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008561/14.67, allocations: 2.754 MB / 4.759 GB, free: 32.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.88e-05/14.67, allocations: 19.98 kB / 4.76 GB, free: 32.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/14.68, allocations: 489.7 kB / 4.76 GB, free: 32.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003817/14.68, allocations: 475.3 kB / 4.76 GB, free: 31.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005465/14.69, allocations: 2.74 MB / 4.763 GB, free: 28.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004971/14.69, allocations: 207.6 kB / 4.763 GB, free: 28.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004542/14.69, allocations: 104 kB / 4.763 GB, free: 28.5 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.002892/14.7, allocations: 1.099 MB / 4.764 GB, free: 27.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/14.7, allocations: 316.1 kB / 4.765 GB, free: 27.07 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00728/14.7, allocations: 2.457 MB / 4.767 GB, free: 24.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/14.7, allocations: 23.98 kB / 4.767 GB, free: 24.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/14.7, allocations: 4 kB / 4.767 GB, free: 24.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005201/14.71, allocations: 2.108 MB / 4.769 GB, free: 22.37 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/14.72, allocations: 5.351 MB / 4.774 GB, free: 16.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/14.72, allocations: 4 kB / 4.774 GB, free: 16.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002651/14.73, allocations: 287.6 kB / 4.775 GB, free: 16.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/14.73, allocations: 293.4 kB / 4.775 GB, free: 16.32 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/14.73, allocations: 47.97 kB / 4.775 GB, free: 16.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007793/14.74, allocations: 8.886 MB / 4.784 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/14.74, allocations: 4.031 kB / 4.784 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009458/14.75, allocations: 3.53 MB / 4.787 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002636/14.75, allocations: 0.661 MB / 4.788 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008138/14.75, allocations: 36 kB / 4.788 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003389/14.75, allocations: 139.8 kB / 4.788 GB, free: 2.121 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/14.75, allocations: 129 kB / 4.788 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/14.75, allocations: 67.94 kB / 4.788 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004806/14.76, allocations: 2.123 MB / 4.79 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.71e-07/14.76, allocations: 0 / 4.79 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009649/14.77, allocations: 1.773 MB / 4.792 GB, free: 14.03 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.005785/14.77, allocations: 2.177 MB / 4.794 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01506/14.79, allocations: 4.037 MB / 4.798 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/14.79, allocations: 4.438 kB / 4.798 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003915/14.79, allocations: 1.684 MB / 4.8 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01411/14.81, allocations: 1.689 MB / 4.801 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7095/15.52, allocations: 7.783 MB / 4.809 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004199/15.52, allocations: 2.449 MB / 4.811 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007767/15.53, allocations: 1.161 MB / 4.813 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/15.53, allocations: 258.4 kB / 4.813 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.733e-06/15.53, allocations: 0 / 4.813 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.1979/15.73, allocations: 82.6 MB / 4.893 GB, free: 137.1 MB / 0.9011 GB