Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 252.6 MB / 265.2 MB, free: 5.629 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001446, allocations: 175.9 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.5753 GB, free: 10.5 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.00116/0.00116, allocations: 100.6 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.649e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.968/2.169, allocations: 457 MB / 1.341 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/2.17, allocations: 90.3 kB / 1.341 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 56.52/58.69, allocations: 10.04 GB / 11.38 GB, free: 91.88 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.184e-06/58.69, allocations: 0 / 11.38 GB, free: 91.88 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003532/58.7, allocations: 382.5 kB / 11.38 GB, free: 91.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.06079/58.76, allocations: 12.09 MB / 11.4 GB, free: 86.31 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/58.76, allocations: 9.406 kB / 11.4 GB, free: 86.31 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01834/58.78, allocations: 2.182 MB / 11.4 GB, free: 85.42 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09279/58.87, allocations: 20.05 MB / 11.42 GB, free: 82.88 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/58.87, allocations: 0.5988 MB / 11.42 GB, free: 82.86 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005087/58.88, allocations: 0.8185 MB / 11.42 GB, free: 82.86 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04503/58.92, allocations: 13.91 MB / 11.43 GB, free: 82.03 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004839/58.92, allocations: 17.58 kB / 11.43 GB, free: 82.02 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004325/58.93, allocations: 288.8 kB / 11.43 GB, free: 82.02 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/58.93, allocations: 186.3 kB / 11.43 GB, free: 82.01 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04683/58.97, allocations: 18 MB / 11.45 GB, free: 81.89 MB / 1.167 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.1812/59.15, allocations: 74.03 MB / 11.52 GB, free: 40.41 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06274/59.22, allocations: 9.464 MB / 11.53 GB, free: 35.82 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02411/59.24, allocations: 8.457 MB / 11.54 GB, free: 29.94 MB / 1.167 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 evalFunc (simulation): time 0.0943/59.34, allocations: 30.16 MB / 11.57 GB, free: 5.172 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02376/59.36, allocations: 8.256 MB / 11.58 GB, free: 15.57 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1002/59.46, allocations: 14.97 MB / 11.59 GB, free: 4.805 MB / 1.182 GB Notification: Performance of pre-optimization done (n=427): time 4.334e-05/59.46, allocations: 4 kB / 11.59 GB, free: 4.801 MB / 1.182 GB Notification: Performance of matching and sorting (n=613): time 1.522/60.98, allocations: 71.96 MB / 11.66 GB, free: 109.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/60.98, allocations: 116.5 kB / 11.66 GB, free: 109.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03801/61.02, allocations: 12.6 MB / 11.67 GB, free: 108.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.004089/61.03, allocations: 193.6 kB / 11.68 GB, free: 108.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01207/61.04, allocations: 6.669 MB / 11.68 GB, free: 107.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.005478/61.04, allocations: 2.077 MB / 11.68 GB, free: 106.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002494/61.05, allocations: 157.5 kB / 11.68 GB, free: 106.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0007042/61.05, allocations: 0.6174 MB / 11.68 GB, free: 105.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02094/61.07, allocations: 7.754 MB / 11.69 GB, free: 105.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02423/61.09, allocations: 10.53 MB / 11.7 GB, free: 102.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02402/61.12, allocations: 8.762 MB / 11.71 GB, free: 102.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/61.12, allocations: 18.95 kB / 11.71 GB, free: 102.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.08352/61.2, allocations: 25.85 MB / 11.74 GB, free: 101.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.007192/61.21, allocations: 34.79 MB / 11.77 GB, free: 65.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/61.21, allocations: 56.38 kB / 11.77 GB, free: 65.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359/62.57, allocations: 146.4 MB / 11.91 GB, free: 64.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02021/62.59, allocations: 1.886 MB / 11.91 GB, free: 64.29 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07214/62.66, allocations: 24.6 MB / 11.94 GB, free: 57.68 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03306/62.69, allocations: 1.289 MB / 11.94 GB, free: 56.91 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005181/62.7, allocations: 0.8125 MB / 11.94 GB, free: 56.43 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/62.7, allocations: 4 kB / 11.94 GB, free: 56.42 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08268/62.78, allocations: 24.83 MB / 11.97 GB, free: 44.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002717/62.78, allocations: 57.56 kB / 11.97 GB, free: 44.55 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628/65.41, allocations: 146.8 MB / 12.11 GB, free: 137.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01755/65.42, allocations: 1.869 MB / 12.11 GB, free: 137.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09768/65.52, allocations: 28.87 MB / 12.14 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03166/65.55, allocations: 1.256 MB / 12.14 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004956/65.56, allocations: 0.7686 MB / 12.14 GB, free: 134.1 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007814/65.57, allocations: 0.5595 MB / 12.14 GB, free: 133.9 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007763/65.58, allocations: 1.292 MB / 12.14 GB, free: 133.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1378/65.71, allocations: 26.58 MB / 12.17 GB, free: 133.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001604/65.71, allocations: 75.03 kB / 12.17 GB, free: 133.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/65.71, allocations: 1.969 kB / 12.17 GB, free: 133.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1021/65.82, allocations: 21.03 MB / 12.19 GB, free: 132.9 MB / 1.214 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 postOpt removeSimpleEquations (simulation): time 0.3355/66.15, allocations: 59.75 MB / 12.25 GB, free: 126.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001216/66.15, allocations: 10.81 kB / 12.25 GB, free: 126.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01281/66.16, allocations: 1.294 MB / 12.25 GB, free: 126.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3411/66.5, allocations: 41.91 MB / 12.29 GB, free: 126.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002246/66.51, allocations: 203.5 kB / 12.29 GB, free: 126.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04536/66.55, allocations: 13.64 MB / 12.3 GB, free: 121.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.531e-05/66.55, allocations: 13.97 kB / 12.3 GB, free: 121.3 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1923/66.75, allocations: 38.43 MB / 12.34 GB, free: 117.6 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01484/66.76, allocations: 3.062 MB / 12.34 GB, free: 116.8 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007575/66.77, allocations: 137.5 kB / 12.34 GB, free: 116.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02342/66.79, allocations: 0.9878 MB / 12.34 GB, free: 116.7 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002902/66.79, allocations: 476.4 kB / 12.35 GB, free: 116.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002248/66.8, allocations: 297.1 kB / 12.35 GB, free: 116.7 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02704/66.82, allocations: 9.609 MB / 12.35 GB, free: 113.4 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.142e-06/66.82, allocations: 0 / 12.35 GB, free: 113.4 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06885/66.89, allocations: 7.129 MB / 12.36 GB, free: 107.2 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01394/66.91, allocations: 5.531 MB / 12.37 GB, free: 102.9 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1111/67.02, allocations: 32.76 MB / 12.4 GB, free: 86.12 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/67.02, allocations: 4.656 kB / 12.4 GB, free: 86.12 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.02868/67.05, allocations: 8.876 MB / 12.41 GB, free: 81.61 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05839/67.1, allocations: 6.805 MB / 12.41 GB, free: 77.88 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07023/67.17, allocations: 22.8 MB / 12.44 GB, free: 60.96 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01746/67.19, allocations: 7.674 MB / 12.44 GB, free: 55.62 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.05088/67.24, allocations: 6.753 MB / 12.45 GB, free: 51.14 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005447/67.25, allocations: 0.7867 MB / 12.45 GB, free: 50.45 MB / 1.214 GB Notification: Performance of SimCode: time 2.605e-06/67.25, allocations: 0 / 12.45 GB, free: 50.45 MB / 1.214 GB Notification: Performance of Templates: time 3.367/70.62, allocations: 449.4 MB / 12.89 GB, free: 1.883 MB / 1.229 GB