Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.27/2.27, allocations: 253.2 MB / 260.6 MB, free: 7.426 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.001477/0.001477, allocations: 180.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 2.109/2.109, 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.001164/0.001163, allocations: 86.12 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.147e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2099, allocations: 106.3 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.945/2.155, allocations: 456.6 MB / 1.335 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/2.155, allocations: 87.09 kB / 1.335 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 47.58/49.74, allocations: 8.421 GB / 9.755 GB, free: 77.26 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.844e-06/49.74, allocations: 0 / 9.755 GB, free: 77.26 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004652/49.74, allocations: 0.5202 MB / 9.756 GB, free: 77.1 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.06995/49.81, allocations: 14.13 MB / 9.769 GB, free: 70.88 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/49.81, allocations: 14.59 kB / 9.769 GB, free: 70.87 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01966/49.83, allocations: 2.307 MB / 9.772 GB, free: 69.84 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1068/49.94, allocations: 23.21 MB / 9.794 GB, free: 66.9 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006761/49.94, allocations: 259.2 kB / 9.795 GB, free: 66.9 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006057/49.94, allocations: 0.5857 MB / 9.795 GB, free: 66.9 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04921/49.99, allocations: 19.64 MB / 9.814 GB, free: 66.86 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04992/50.04, allocations: 15.37 MB / 9.829 GB, free: 61.64 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000689/50.04, allocations: 19.66 kB / 9.829 GB, free: 61.63 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004878/50.05, allocations: 15.03 kB / 9.829 GB, free: 61.63 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002804/50.05, allocations: 215.6 kB / 9.83 GB, free: 61.62 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.2012/50.25, allocations: 77.85 MB / 9.906 GB, free: 11.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03048/50.28, allocations: 12.35 MB / 9.918 GB, free: 428 kB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.16/51.44, allocations: 9.232 MB / 9.927 GB, free: 104.8 MB / 1.151 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.1203/51.56, allocations: 32.89 MB / 9.959 GB, free: 96.53 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02296/51.58, allocations: 8.894 MB / 9.968 GB, free: 96.37 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08073/51.66, allocations: 14.96 MB / 9.982 GB, free: 96.37 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 6.11e-05/51.66, allocations: 1.594 kB / 9.982 GB, free: 96.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=584): time 1.314/52.98, allocations: 138.8 MB / 10.12 GB, free: 92.59 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007379/52.98, allocations: 2.504 MB / 10.12 GB, free: 89.58 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04382/53.02, allocations: 13.86 MB / 10.13 GB, free: 88.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004661/53.03, allocations: 48.52 kB / 10.13 GB, free: 88.79 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01529/53.04, allocations: 7.909 MB / 10.14 GB, free: 87.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.006357/53.05, allocations: 1.989 MB / 10.14 GB, free: 86.35 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003927/53.05, allocations: 1.859 kB / 10.14 GB, free: 86.35 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001063/53.05, allocations: 0.6825 MB / 10.14 GB, free: 86.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02127/53.08, allocations: 8.37 MB / 10.15 GB, free: 86 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02555/53.1, allocations: 11.83 MB / 10.16 GB, free: 82.03 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0286/53.13, allocations: 9.82 MB / 10.17 GB, free: 81.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/53.13, allocations: 19.56 kB / 10.17 GB, free: 81.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 1.242/54.37, allocations: 124.3 MB / 10.29 GB, free: 33.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.007724/54.38, allocations: 36.55 MB / 10.33 GB, free: 12.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000715/54.38, allocations: 118.7 kB / 10.33 GB, free: 12.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54/56.92, allocations: 143.4 MB / 10.47 GB, free: 122 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02183/56.94, allocations: 2.135 MB / 10.47 GB, free: 122 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.26/57.2, allocations: 67.26 MB / 10.54 GB, free: 116.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03117/57.23, allocations: 0.957 MB / 10.54 GB, free: 116.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005688/57.24, allocations: 0.8376 MB / 10.54 GB, free: 116.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/57.24, allocations: 3.75 kB / 10.54 GB, free: 116.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.301/58.54, allocations: 121.6 MB / 10.66 GB, free: 103.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006726/58.54, allocations: 122.4 kB / 10.66 GB, free: 103.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514/61.06, allocations: 143.4 MB / 10.8 GB, free: 146.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01969/61.08, allocations: 2.107 MB / 10.8 GB, free: 146.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3155/61.39, allocations: 69.38 MB / 10.87 GB, free: 143.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03082/61.42, allocations: 0.9326 MB / 10.87 GB, free: 143.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005418/61.43, allocations: 0.7961 MB / 10.87 GB, free: 143.6 MB / 1.214 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (937): * Single equations (assignments): 859 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 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: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.008649/61.44, allocations: 347 kB / 10.87 GB, free: 143.5 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009307/61.45, allocations: 1.474 MB / 10.87 GB, free: 143.5 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3686/61.81, allocations: 43.53 MB / 10.91 GB, free: 142.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001799/61.81, allocations: 70.14 kB / 10.91 GB, free: 142.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001159/61.82, allocations: 31.22 kB / 10.91 GB, free: 142.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3161/62.13, allocations: 38.4 MB / 10.95 GB, free: 142.2 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3753/62.51, allocations: 58.03 MB / 11.01 GB, free: 138.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.693e-05/62.51, allocations: 0 / 11.01 GB, free: 138.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01254/62.52, allocations: 1.138 MB / 11.01 GB, free: 138.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3656/62.88, allocations: 40.75 MB / 11.05 GB, free: 138.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002569/62.89, allocations: 152.9 kB / 11.05 GB, free: 138.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1098/63, allocations: 27.53 MB / 11.08 GB, free: 132.2 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/63, allocations: 3.625 kB / 11.08 GB, free: 132.2 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3471/63.34, allocations: 48.91 MB / 11.12 GB, free: 109.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01567/63.36, allocations: 3.156 MB / 11.13 GB, free: 107.4 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00868/63.37, allocations: 80.05 kB / 11.13 GB, free: 107.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02334/63.39, allocations: 0.8027 MB / 11.13 GB, free: 106.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00359/63.4, allocations: 427.1 kB / 11.13 GB, free: 106.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002556/63.4, allocations: 260.4 kB / 11.13 GB, free: 106.5 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02973/63.43, allocations: 10.4 MB / 11.14 GB, free: 101 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.345e-06/63.43, allocations: 0 / 11.14 GB, free: 101 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06918/63.5, allocations: 7.873 MB / 11.15 GB, free: 93.66 MB / 1.214 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (527): * Single equations (assignments): 505 * 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: 2 * 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: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.0138/63.51, allocations: 5.282 MB / 11.15 GB, free: 89.54 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1113/63.62, allocations: 35.52 MB / 11.19 GB, free: 70.06 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/63.62, allocations: 10.09 kB / 11.19 GB, free: 70.05 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.026/63.65, allocations: 8.3 MB / 11.2 GB, free: 63.22 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06429/63.71, allocations: 7.55 MB / 11.2 GB, free: 58.24 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07822/63.79, allocations: 26.1 MB / 11.23 GB, free: 35.35 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02033/63.81, allocations: 8.966 MB / 11.24 GB, free: 29.25 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.05621/63.87, allocations: 8.191 MB / 11.24 GB, free: 24.06 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246/66.11, allocations: 0.9868 MB / 11.25 GB, free: 134.3 MB / 1.214 GB Notification: Performance of SimCode: time 1.884e-06/66.11, allocations: 1.5 kB / 11.25 GB, free: 134.3 MB / 1.214 GB Notification: Performance of Templates: time 1.035/67.15, allocations: 428.8 MB / 11.66 GB, free: 2.746 MB / 1.245 GB