Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.91/4.91, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00271/0.002709, allocations: 360.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.162/4.162, allocations: 410.7 MB / 1.113 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001917/0.001917, allocations: 187.4 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006893/0.0006896, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.743, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/2.01, allocations: 465.4 MB / 1.916 GB, free: 73.14 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/2.011, allocations: 101.2 kB / 1.916 GB, free: 73.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 56.83/58.84, allocations: 10.23 GB / 12.14 GB, free: 62.12 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.404e-06/58.84, allocations: 0 / 12.14 GB, free: 62.12 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003297/58.84, allocations: 344.2 kB / 12.14 GB, free: 62.02 MB / 1.214 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.09373/58.94, allocations: 17.53 MB / 12.16 GB, free: 44.63 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/58.94, allocations: 19.56 kB / 12.16 GB, free: 44.61 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/58.95, allocations: 2.219 MB / 12.16 GB, free: 42.38 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08685/59.04, allocations: 18.54 MB / 12.18 GB, free: 23.75 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009604/59.04, allocations: 0.5311 MB / 12.18 GB, free: 23.22 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004636/59.05, allocations: 0.707 MB / 12.18 GB, free: 22.52 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04183/59.09, allocations: 13.38 MB / 12.2 GB, free: 8.973 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003698/59.09, allocations: 7.938 kB / 12.2 GB, free: 8.965 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003455/59.09, allocations: 244 kB / 12.2 GB, free: 8.727 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/59.09, allocations: 148 kB / 12.2 GB, free: 8.582 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.19/60.28, allocations: 17.98 MB / 12.21 GB, free: 73.56 MB / 1.214 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.1751/60.46, allocations: 69.93 MB / 12.28 GB, free: 42.89 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02591/60.48, allocations: 9.766 MB / 12.29 GB, free: 42.74 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02163/60.51, allocations: 8.634 MB / 12.3 GB, free: 42.68 MB / 1.214 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 evalFunc (simulation): time 0.09684/60.6, allocations: 29.38 MB / 12.33 GB, free: 34.82 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02415/60.63, allocations: 8.299 MB / 12.34 GB, free: 34.71 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08289/60.71, allocations: 15.21 MB / 12.35 GB, free: 34.61 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 3.919e-05/60.71, allocations: 5.344 kB / 12.35 GB, free: 34.61 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.9527/61.66, allocations: 126.2 MB / 12.48 GB, free: 26.36 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/61.66, allocations: 116.5 kB / 12.48 GB, free: 26.29 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03747/61.7, allocations: 13.31 MB / 12.49 GB, free: 25.55 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004179/61.7, allocations: 182.2 kB / 12.49 GB, free: 25.52 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01087/61.71, allocations: 6.01 MB / 12.49 GB, free: 24.54 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005467/61.72, allocations: 1.956 MB / 12.5 GB, free: 23.55 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00372/61.72, allocations: 153.8 kB / 12.5 GB, free: 23.54 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007556/61.72, allocations: 0.591 MB / 12.5 GB, free: 23.23 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02897/61.75, allocations: 8.628 MB / 12.51 GB, free: 23.18 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03127/61.79, allocations: 11.25 MB / 12.52 GB, free: 20.21 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03126/61.82, allocations: 9.506 MB / 12.53 GB, free: 19.96 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.378e-05/61.82, allocations: 15.44 kB / 12.53 GB, free: 19.96 MB / 1.214 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1125/61.93, allocations: 28.71 MB / 12.55 GB, free: 18.75 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/61.93, allocations: 1.549 MB / 12.56 GB, free: 16.82 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/61.93, allocations: 46.25 kB / 12.56 GB, free: 16.82 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824/64.75, allocations: 173.3 MB / 12.72 GB, free: 101.1 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02077/64.78, allocations: 1.864 MB / 12.73 GB, free: 101.1 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09007/64.87, allocations: 27.37 MB / 12.75 GB, free: 96.05 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03216/64.9, allocations: 1.282 MB / 12.75 GB, free: 96.05 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00519/64.9, allocations: 0.7998 MB / 12.76 GB, free: 96.05 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/64.9, allocations: 3.406 kB / 12.76 GB, free: 96.05 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1046/65.01, allocations: 27.4 MB / 12.78 GB, free: 95.73 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/65.01, allocations: 44.53 kB / 12.78 GB, free: 95.73 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684/66.69, allocations: 171.6 MB / 12.95 GB, free: 94.57 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02467/66.72, allocations: 1.832 MB / 12.95 GB, free: 94.55 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1154/66.83, allocations: 31.75 MB / 12.98 GB, free: 90.59 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03095/66.86, allocations: 1.257 MB / 12.98 GB, free: 90.53 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004779/66.87, allocations: 0.763 MB / 12.98 GB, free: 90.53 MB / 1.245 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * 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 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01489/66.88, allocations: 3.102 MB / 12.99 GB, free: 90.33 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006829/66.89, allocations: 1.199 MB / 12.99 GB, free: 90.02 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1786/67.07, allocations: 30.92 MB / 13.02 GB, free: 70.5 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001704/67.07, allocations: 83.38 kB / 13.02 GB, free: 70.42 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/67.07, allocations: 2.062 kB / 13.02 GB, free: 70.42 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1573/67.23, allocations: 25.31 MB / 13.04 GB, free: 52.49 MB / 1.245 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 postOpt removeSimpleEquations (simulation): time 0.2202/67.45, allocations: 50.4 MB / 13.09 GB, free: 17.51 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001123/67.45, allocations: 4 kB / 13.09 GB, free: 17.5 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01246/67.46, allocations: 1.244 MB / 13.09 GB, free: 16.34 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.608/69.07, allocations: 50 MB / 13.14 GB, free: 124.2 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002398/69.07, allocations: 199.2 kB / 13.14 GB, free: 124.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04499/69.11, allocations: 15.47 MB / 13.16 GB, free: 119.2 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/69.11, allocations: 9.812 kB / 13.16 GB, free: 119.2 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1316/69.25, allocations: 32.57 MB / 13.19 GB, free: 118.1 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01322/69.26, allocations: 2.935 MB / 13.19 GB, free: 117.9 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006664/69.27, allocations: 132.7 kB / 13.19 GB, free: 117.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0237/69.29, allocations: 1.006 MB / 13.19 GB, free: 117.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002942/69.29, allocations: 463.8 kB / 13.19 GB, free: 117.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002511/69.3, allocations: 289.5 kB / 13.19 GB, free: 117.8 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02752/69.32, allocations: 9.038 MB / 13.2 GB, free: 117.5 MB / 1.276 GB Notification: Performance of sort global known variables: time 8.82e-07/69.32, allocations: 0 / 13.2 GB, free: 117.5 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.06302/69.39, allocations: 6.551 MB / 13.21 GB, free: 117.5 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (490): * Single equations (assignments): 468 * 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: 4 * 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: 4 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/69.4, allocations: 4.948 MB / 13.21 GB, free: 115.7 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1511/69.55, allocations: 35.7 MB / 13.25 GB, free: 115 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/69.55, allocations: 4.656 kB / 13.25 GB, free: 115 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.03973/69.59, allocations: 10.04 MB / 13.26 GB, free: 114.8 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06089/69.65, allocations: 6.392 MB / 13.27 GB, free: 114.8 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08464/69.74, allocations: 30.09 MB / 13.29 GB, free: 104.1 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0178/69.75, allocations: 7.164 MB / 13.3 GB, free: 103.1 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03161/69.78, allocations: 3.753 MB / 13.31 GB, free: 103 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007521/69.79, allocations: 0.9818 MB / 13.31 GB, free: 103 MB / 1.276 GB Notification: Performance of SimCode: time 1.643e-06/69.79, allocations: 0 / 13.31 GB, free: 103 MB / 1.276 GB Notification: Performance of Templates: time 3.3/73.09, allocations: 411.9 MB / 13.71 GB, free: 141.9 MB / 1.292 GB