Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 253.2 MB / 260.6 MB, free: 7.488 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.001382/0.001382, allocations: 183.1 kB / 319.9 MB, free: 3.082 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.046/2.046, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001097/0.001096, allocations: 97.52 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.173e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1963, allocations: 106.3 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.945/2.142, allocations: 458.5 MB / 1.336 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/2.142, allocations: 92.83 kB / 1.337 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 57.87/60.01, allocations: 10.16 GB / 11.5 GB, free: 74.94 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.234e-06/60.01, allocations: 0 / 11.5 GB, free: 74.94 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003952/60.02, allocations: 349.8 kB / 11.5 GB, free: 74.88 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.06358/60.08, allocations: 11.05 MB / 11.51 GB, free: 70.04 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/60.08, allocations: 11.88 kB / 11.51 GB, free: 70.04 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/60.1, allocations: 2.074 MB / 11.51 GB, free: 69.25 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07848/60.18, allocations: 18.25 MB / 11.53 GB, free: 67.15 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005454/60.18, allocations: 193.3 kB / 11.53 GB, free: 67.15 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003384/60.18, allocations: 445.7 kB / 11.53 GB, free: 67.14 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02205/60.2, allocations: 6.827 MB / 11.54 GB, free: 67.12 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03957/60.24, allocations: 7.402 MB / 11.54 GB, free: 66.07 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004147/60.24, allocations: 21.31 kB / 11.54 GB, free: 66.07 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00296/60.25, allocations: 10.91 kB / 11.54 GB, free: 66.07 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002668/60.25, allocations: 153.2 kB / 11.54 GB, free: 66.07 MB / 1.135 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.1576/60.4, allocations: 48.6 MB / 11.59 GB, free: 39.45 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02486/60.43, allocations: 5.377 MB / 11.6 GB, free: 39.3 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009774/60.44, allocations: 3.934 MB / 11.6 GB, free: 39.24 MB / 1.135 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.05568/60.49, allocations: 13.38 MB / 11.61 GB, free: 36.09 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008402/60.5, allocations: 3.096 MB / 11.62 GB, free: 36 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01795/60.52, allocations: 2.281 MB / 11.62 GB, free: 35.8 MB / 1.135 GB Notification: Performance of pre-optimization done (n=326): time 3.078e-05/60.52, allocations: 0 / 11.62 GB, free: 35.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=328): time 0.06591/60.59, allocations: 15.6 MB / 11.63 GB, free: 32.98 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/60.59, allocations: 88.17 kB / 11.63 GB, free: 32.91 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03402/60.62, allocations: 11.32 MB / 11.64 GB, free: 32.18 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001808/60.62, allocations: 39.52 kB / 11.64 GB, free: 32.15 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01011/60.63, allocations: 6.195 MB / 11.65 GB, free: 30.66 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.002147/60.64, allocations: 1.079 MB / 11.65 GB, free: 29.95 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007097/60.64, allocations: 0 / 11.65 GB, free: 29.95 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0004309/60.64, allocations: 0.5378 MB / 11.65 GB, free: 29.63 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006776/60.64, allocations: 3.002 MB / 11.65 GB, free: 29.61 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/60.65, allocations: 5.759 MB / 11.66 GB, free: 26.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/60.67, allocations: 3.953 MB / 11.66 GB, free: 26.03 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-05/60.67, allocations: 17.81 kB / 11.66 GB, free: 26.03 MB / 1.135 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.03562/60.7, allocations: 10.7 MB / 11.67 GB, free: 25.11 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.01043/60.71, allocations: 38.34 MB / 11.71 GB, free: 1.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002325/60.71, allocations: 63.97 kB / 11.71 GB, free: 1.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004963/60.72, allocations: 1.35 MB / 11.71 GB, free: 0.9844 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01478/60.73, allocations: 1.394 MB / 11.71 GB, free: 0.9805 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/60.75, allocations: 9.703 MB / 11.72 GB, free: 11.38 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01959/60.77, allocations: 0.7437 MB / 11.73 GB, free: 11.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002285/60.77, allocations: 419.6 kB / 11.73 GB, free: 11.27 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/60.77, allocations: 2.875 kB / 11.73 GB, free: 11.27 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02999/60.8, allocations: 8.448 MB / 11.73 GB, free: 11.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002375/60.8, allocations: 65.36 kB / 11.73 GB, free: 11.01 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006925/60.81, allocations: 1.465 MB / 11.74 GB, free: 10.92 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/60.82, allocations: 1.384 MB / 11.74 GB, free: 10.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03168/60.85, allocations: 12.54 MB / 11.75 GB, free: 6.438 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01875/60.87, allocations: 0.7156 MB / 11.75 GB, free: 6.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002145/60.87, allocations: 380.5 kB / 11.75 GB, free: 6.336 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (640): * Single equations (assignments): 625 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.003611/60.88, allocations: 313.6 kB / 11.75 GB, free: 6.176 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004458/60.88, allocations: 1.138 MB / 11.75 GB, free: 5.543 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02782/60.91, allocations: 7.561 MB / 11.76 GB, free: 4.973 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/60.91, allocations: 41.55 kB / 11.76 GB, free: 4.973 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/60.91, allocations: 0 / 11.76 GB, free: 4.973 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01674/60.93, allocations: 5.689 MB / 11.76 GB, free: 4.438 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 postOpt removeSimpleEquations (simulation): time 0.05467/60.98, allocations: 16.04 MB / 11.78 GB, free: 2.898 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/60.98, allocations: 0 / 11.78 GB, free: 2.898 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006563/60.99, allocations: 0.6038 MB / 11.78 GB, free: 2.867 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004174/60.99, allocations: 1.12 MB / 11.78 GB, free: 2.789 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008956/60.99, allocations: 61.34 kB / 11.78 GB, free: 2.789 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/61, allocations: 8.101 MB / 11.79 GB, free: 12.88 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/61, allocations: 6.438 kB / 11.79 GB, free: 12.88 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03229/61.03, allocations: 10.38 MB / 11.8 GB, free: 6.352 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01134/61.05, allocations: 2.138 MB / 11.8 GB, free: 4.484 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005712/61.05, allocations: 4.656 kB / 11.8 GB, free: 4.48 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01677/61.07, allocations: 0.6177 MB / 11.8 GB, free: 4.055 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/61.07, allocations: 231.2 kB / 11.8 GB, free: 3.914 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007967/61.07, allocations: 161.6 kB / 11.8 GB, free: 3.781 MB / 1.182 GB Notification: Performance of sorting global known variables: time 1.158/62.23, allocations: 9.21 MB / 11.81 GB, free: 121.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.243e-06/62.23, allocations: 0 / 11.81 GB, free: 121.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05468/62.28, allocations: 5.112 MB / 11.82 GB, free: 121.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (274): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01278/62.3, allocations: 4.694 MB / 11.82 GB, free: 120 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.03902/62.33, allocations: 11.85 MB / 11.83 GB, free: 119.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/62.33, allocations: 1.281 kB / 11.83 GB, free: 119.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.008563/62.34, allocations: 2.638 MB / 11.84 GB, free: 119.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05164/62.4, allocations: 5.825 MB / 11.84 GB, free: 119.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05187/62.45, allocations: 16.52 MB / 11.86 GB, free: 115.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01478/62.46, allocations: 6.687 MB / 11.86 GB, free: 114.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04253/62.5, allocations: 5.841 MB / 11.87 GB, free: 114.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003352/62.51, allocations: 0.5604 MB / 11.87 GB, free: 114.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.422e-06/62.51, allocations: 0 / 11.87 GB, free: 114.6 MB / 1.182 GB Notification: Performance of Templates: time 0.608/63.12, allocations: 233.5 MB / 12.1 GB, free: 93.84 MB / 1.182 GB