Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.922/4.922, allocations: 0.5623 GB / 0.5775 GB, free: 3.383 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.002573/0.002573, allocations: 357.3 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.365/4.365, allocations: 410.7 MB / 1.113 GB, free: 5.918 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.001836/0.001836, allocations: 183.2 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005078, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7396/0.7401, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/2.064, allocations: 463.9 MB / 1.914 GB, free: 74.56 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/2.064, allocations: 101.7 kB / 1.914 GB, free: 74.51 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 49.57/51.64, allocations: 8.664 GB / 10.58 GB, free: 93.48 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.605e-06/51.64, allocations: 1.031 kB / 10.58 GB, free: 93.48 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004816/51.64, allocations: 0.5174 MB / 10.58 GB, free: 93.38 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.1344/51.78, allocations: 21.42 MB / 10.6 GB, free: 85.85 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/51.78, allocations: 17.97 kB / 10.6 GB, free: 85.85 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02364/51.8, allocations: 2.305 MB / 10.6 GB, free: 84.83 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1122/51.91, allocations: 23.13 MB / 10.62 GB, free: 82.21 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002153/51.91, allocations: 0.718 MB / 10.63 GB, free: 82.19 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01101/51.93, allocations: 1.016 MB / 10.63 GB, free: 82.18 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06098/51.99, allocations: 16.93 MB / 10.64 GB, free: 80.32 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007591/51.99, allocations: 15.91 kB / 10.64 GB, free: 80.32 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005519/51.99, allocations: 360.5 kB / 10.64 GB, free: 80.32 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004276/51.99, allocations: 219.2 kB / 10.64 GB, free: 80.32 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05869/52.05, allocations: 19.86 MB / 10.66 GB, free: 80.26 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.2067/52.26, allocations: 79.18 MB / 10.74 GB, free: 46.68 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03226/52.29, allocations: 11.93 MB / 10.75 GB, free: 46.25 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02294/52.31, allocations: 9.142 MB / 10.76 GB, free: 46.19 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.1113/52.43, allocations: 33.1 MB / 10.79 GB, free: 37.5 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02723/52.45, allocations: 9.319 MB / 10.8 GB, free: 37.32 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.083/52.54, allocations: 15.12 MB / 10.82 GB, free: 36.64 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 4.594e-05/52.54, allocations: 3.938 kB / 10.82 GB, free: 36.63 MB / 1.214 GB Notification: Performance of matching and sorting (n=812): time 3.129/55.66, allocations: 209.6 MB / 11.02 GB, free: 102.7 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008757/55.67, allocations: 2.531 MB / 11.02 GB, free: 99.7 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05359/55.72, allocations: 16.5 MB / 11.04 GB, free: 98.88 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005516/55.72, allocations: 266 kB / 11.04 GB, free: 98.85 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01496/55.74, allocations: 7.861 MB / 11.05 GB, free: 98.48 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007819/55.75, allocations: 2.825 MB / 11.05 GB, free: 98.35 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005056/55.75, allocations: 207 kB / 11.05 GB, free: 98.35 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001349/55.75, allocations: 0.7503 MB / 11.05 GB, free: 98.02 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03627/55.79, allocations: 10.48 MB / 11.06 GB, free: 98 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04086/55.83, allocations: 14.21 MB / 11.08 GB, free: 94.09 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0414/55.87, allocations: 11.78 MB / 11.09 GB, free: 93.88 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001549/55.87, allocations: 16.81 kB / 11.09 GB, free: 93.88 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.336/57.21, allocations: 131.2 MB / 11.22 GB, free: 91.77 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001662/57.21, allocations: 1.727 MB / 11.22 GB, free: 89.6 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006842/57.21, allocations: 118.9 kB / 11.22 GB, free: 89.6 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399/58.61, allocations: 149.3 MB / 11.36 GB, free: 56.36 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02868/58.64, allocations: 2.802 MB / 11.37 GB, free: 53.74 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2929/58.93, allocations: 74.64 MB / 11.44 GB, free: 13.02 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03881/58.97, allocations: 1.555 MB / 11.44 GB, free: 11.67 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006545/58.98, allocations: 0.9241 MB / 11.44 GB, free: 10.84 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/58.98, allocations: 4 kB / 11.44 GB, free: 10.83 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.588/61.57, allocations: 129.4 MB / 11.57 GB, free: 114.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006356/61.57, allocations: 124.3 kB / 11.57 GB, free: 114.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391/62.96, allocations: 148.5 MB / 11.71 GB, free: 112.6 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02528/62.98, allocations: 2.756 MB / 11.72 GB, free: 112.6 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3108/63.29, allocations: 78.44 MB / 11.79 GB, free: 96.87 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03681/63.33, allocations: 1.529 MB / 11.79 GB, free: 96.36 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006028/63.34, allocations: 0.8741 MB / 11.79 GB, free: 96.09 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1062): * Single equations (assignments): 982 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02081/63.36, allocations: 4.281 MB / 11.8 GB, free: 95.21 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008916/63.37, allocations: 1.556 MB / 11.8 GB, free: 94.48 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3877/63.75, allocations: 51.89 MB / 11.85 GB, free: 52.85 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002144/63.75, allocations: 100.9 kB / 11.85 GB, free: 52.75 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002235/63.76, allocations: 32 kB / 11.85 GB, free: 52.72 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3814/64.14, allocations: 45.79 MB / 11.9 GB, free: 15.12 MB / 1.26 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 1.682/65.82, allocations: 70.45 MB / 11.96 GB, free: 128.3 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001353/65.82, allocations: 2.625 kB / 11.96 GB, free: 128.3 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01925/65.84, allocations: 1.822 MB / 11.97 GB, free: 128.3 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3714/66.21, allocations: 43.94 MB / 12.01 GB, free: 128.2 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003382/66.21, allocations: 343.8 kB / 12.01 GB, free: 128.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.121/66.33, allocations: 31.79 MB / 12.04 GB, free: 121.2 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/66.33, allocations: 1.875 kB / 12.04 GB, free: 121.2 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3985/66.73, allocations: 59.95 MB / 12.1 GB, free: 120.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01616/66.75, allocations: 3.652 MB / 12.1 GB, free: 120.3 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008503/66.76, allocations: 280.2 kB / 12.1 GB, free: 120.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02949/66.79, allocations: 1.335 MB / 12.1 GB, free: 120.3 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004598/66.79, allocations: 0.5922 MB / 12.11 GB, free: 120.3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003126/66.79, allocations: 362.1 kB / 12.11 GB, free: 120.3 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03341/66.83, allocations: 11.2 MB / 12.12 GB, free: 119.8 MB / 1.292 GB Notification: Performance of sort global known variables: time 4.81e-07/66.83, allocations: 1.312 kB / 12.12 GB, free: 119.8 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.07175/66.9, allocations: 8.753 MB / 12.12 GB, free: 119.8 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * 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 (713): * Single equations (assignments): 689 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {36 81,39 65,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01511/66.91, allocations: 5.505 MB / 12.13 GB, free: 117.9 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1806/67.1, allocations: 45.83 MB / 12.18 GB, free: 114.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.773e-05/67.1, allocations: 12.69 kB / 12.18 GB, free: 114.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.05087/67.15, allocations: 12.43 MB / 12.19 GB, free: 114.1 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07723/67.22, allocations: 7.941 MB / 12.19 GB, free: 114.1 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/67.34, allocations: 41.01 MB / 12.23 GB, free: 100 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02248/67.36, allocations: 9.415 MB / 12.24 GB, free: 98.87 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04172/67.4, allocations: 5.524 MB / 12.25 GB, free: 98.43 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01023/67.41, allocations: 1.308 MB / 12.25 GB, free: 98.41 MB / 1.292 GB Notification: Performance of SimCode: time 1.192e-06/67.41, allocations: 0 / 12.25 GB, free: 98.41 MB / 1.292 GB Notification: Performance of Templates: time 3.453/70.86, allocations: 473 MB / 12.71 GB, free: 110.7 MB / 1.292 GB