Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.271/2.271, allocations: 253.2 MB / 260.6 MB, free: 7.453 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.001539/0.001539, allocations: 172.8 kB / 319.9 MB, free: 3.035 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 1.962/1.962, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.001207/0.001207, allocations: 93.45 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.877e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2017, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.899/2.1, allocations: 457.9 MB / 1.336 GB, free: 246 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/2.101, allocations: 99.31 kB / 1.336 GB, free: 246 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 56.37/58.47, allocations: 9.934 GB / 11.27 GB, free: 77.15 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.705e-06/58.47, allocations: 0 / 11.27 GB, free: 77.15 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003359/58.47, allocations: 353 kB / 11.27 GB, free: 77.08 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.05707/58.53, allocations: 11.13 MB / 11.28 GB, free: 72.02 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/58.53, allocations: 10.06 kB / 11.28 GB, free: 72.02 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01924/58.55, allocations: 2.232 MB / 11.28 GB, free: 71.18 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09414/58.64, allocations: 18.59 MB / 11.3 GB, free: 68.85 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/58.64, allocations: 198.2 kB / 11.3 GB, free: 68.84 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004623/58.65, allocations: 437.8 kB / 11.3 GB, free: 68.84 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04288/58.69, allocations: 17.83 MB / 11.32 GB, free: 68.81 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04016/58.73, allocations: 12.17 MB / 11.33 GB, free: 68.19 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004435/58.73, allocations: 6.938 kB / 11.33 GB, free: 68.19 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003733/58.74, allocations: 5.094 kB / 11.33 GB, free: 68.19 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/58.74, allocations: 157.4 kB / 11.33 GB, free: 68.18 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.1707/58.91, allocations: 68.99 MB / 11.4 GB, free: 35.73 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02091/58.93, allocations: 10.18 MB / 11.41 GB, free: 32.14 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01813/58.95, allocations: 8.739 MB / 11.42 GB, free: 28.25 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.09339/59.04, allocations: 29.28 MB / 11.45 GB, free: 12.34 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01789/59.06, allocations: 7.956 MB / 11.45 GB, free: 7.699 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.215/60.27, allocations: 16.4 MB / 11.47 GB, free: 86.54 MB / 1.135 GB Notification: Performance of pre-optimization done (n=393): time 4.686e-05/60.27, allocations: 0.5312 kB / 11.47 GB, free: 86.54 MB / 1.135 GB Notification: Performance of matching and sorting (n=395): time 0.1453/60.42, allocations: 37.04 MB / 11.51 GB, free: 84.76 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/60.42, allocations: 98.3 kB / 11.51 GB, free: 84.69 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03517/60.45, allocations: 11.13 MB / 11.52 GB, free: 84.04 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.003419/60.46, allocations: 38.64 kB / 11.52 GB, free: 84.01 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01106/60.47, allocations: 5.982 MB / 11.52 GB, free: 83.08 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.004527/60.47, allocations: 1.291 MB / 11.52 GB, free: 82.41 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003316/60.48, allocations: 0.5 kB / 11.52 GB, free: 82.41 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0007172/60.48, allocations: 0.5372 MB / 11.52 GB, free: 82.09 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01735/60.49, allocations: 6.882 MB / 11.53 GB, free: 82.07 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01988/60.51, allocations: 9.306 MB / 11.54 GB, free: 79.22 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0233/60.54, allocations: 7.932 MB / 11.55 GB, free: 79.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/60.54, allocations: 12.72 kB / 11.55 GB, free: 79.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.07742/60.61, allocations: 22.88 MB / 11.57 GB, free: 78.21 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.006026/60.62, allocations: 29.53 MB / 11.6 GB, free: 47.52 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002442/60.62, allocations: 49.58 kB / 11.6 GB, free: 47.52 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585/62.21, allocations: 167.2 MB / 11.76 GB, free: 46.63 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/62.22, allocations: 1.29 MB / 11.76 GB, free: 46.63 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1046/62.32, allocations: 25.49 MB / 11.79 GB, free: 42.48 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02719/62.35, allocations: 0.8033 MB / 11.79 GB, free: 42.39 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004317/62.36, allocations: 0.7282 MB / 11.79 GB, free: 42.39 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/62.36, allocations: 6.312 kB / 11.79 GB, free: 42.39 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06776/62.42, allocations: 20.82 MB / 11.81 GB, free: 40.17 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002229/62.42, allocations: 48.25 kB / 11.81 GB, free: 40.12 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695/65.12, allocations: 167.2 MB / 11.97 GB, free: 125.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/65.13, allocations: 1.28 MB / 11.98 GB, free: 125.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09655/65.23, allocations: 28.32 MB / 12 GB, free: 123.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02628/65.25, allocations: 0.7843 MB / 12 GB, free: 123.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004336/65.26, allocations: 0.6895 MB / 12 GB, free: 123.1 MB / 1.182 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 pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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: 207 * 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 (560): * Single equations (assignments): 548 * 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: 2 * 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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.006428/65.26, allocations: 284.2 kB / 12 GB, free: 123 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007068/65.27, allocations: 1.135 MB / 12.01 GB, free: 123 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06712/65.34, allocations: 17.23 MB / 12.02 GB, free: 122.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00014/65.34, allocations: 59.92 kB / 12.02 GB, free: 122.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/65.34, allocations: 0 / 12.02 GB, free: 122.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03705/65.38, allocations: 12.44 MB / 12.03 GB, free: 122.1 MB / 1.182 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.2261/65.6, allocations: 45.28 MB / 12.08 GB, free: 116.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-05/65.6, allocations: 2.031 kB / 12.08 GB, free: 116.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007267/65.61, allocations: 0.691 MB / 12.08 GB, free: 116.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4213/66.03, allocations: 47.69 MB / 12.13 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001787/66.03, allocations: 80.02 kB / 12.13 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04332/66.08, allocations: 13.17 MB / 12.14 GB, free: 112 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/66.08, allocations: 1.625 kB / 12.14 GB, free: 112 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3064/66.38, allocations: 40.95 MB / 12.18 GB, free: 110.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01582/66.4, allocations: 2.529 MB / 12.18 GB, free: 110 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007705/66.41, allocations: 3.438 kB / 12.18 GB, free: 110 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0229/66.43, allocations: 0.6135 MB / 12.18 GB, free: 109.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002454/66.43, allocations: 294 kB / 12.18 GB, free: 109.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001942/66.43, allocations: 205.5 kB / 12.18 GB, free: 109.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02421/66.46, allocations: 8.343 MB / 12.19 GB, free: 109.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.022e-06/66.46, allocations: 0 / 12.19 GB, free: 109.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05744/66.52, allocations: 5.669 MB / 12.2 GB, free: 109.6 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 (324): * Single equations (assignments): 304 * 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: 2 * 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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01191/66.53, allocations: 4.706 MB / 12.2 GB, free: 107.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1046/66.63, allocations: 28.57 MB / 12.23 GB, free: 93.67 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/66.63, allocations: 0 / 12.23 GB, free: 93.67 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02552/66.66, allocations: 7.185 MB / 12.24 GB, free: 90.07 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05318/66.71, allocations: 6.103 MB / 12.24 GB, free: 86.68 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05674/66.77, allocations: 18.34 MB / 12.26 GB, free: 72.87 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0142/66.78, allocations: 6.79 MB / 12.27 GB, free: 68.71 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0405/66.82, allocations: 5.721 MB / 12.27 GB, free: 65.01 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003123/66.83, allocations: 0.6048 MB / 12.27 GB, free: 64.51 MB / 1.182 GB Notification: Performance of SimCode: time 1.673e-06/66.83, allocations: 0.9844 kB / 12.27 GB, free: 64.51 MB / 1.182 GB Notification: Performance of Templates: time 3.02/69.85, allocations: 367.9 MB / 12.63 GB, free: 71.64 MB / 1.182 GB