Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, allocations: 253.2 MB / 260.6 MB, free: 7.461 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.001476/0.001476, allocations: 173.8 kB / 319.9 MB, free: 3 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.982/1.982, allocations: 205.6 MB / 0.5709 GB, free: 15.21 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.001125/0.001125, allocations: 97.02 kB / 0.6751 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.727e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.915/2.119, allocations: 456.7 MB / 1.335 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/2.12, allocations: 92.44 kB / 1.335 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 52.08/54.2, allocations: 9.182 GB / 10.52 GB, free: 78.43 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.053e-06/54.2, allocations: 0 / 10.52 GB, free: 78.43 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004696/54.2, allocations: 0.5038 MB / 10.52 GB, free: 78.3 MB / 1.151 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.07059/54.27, allocations: 14.13 MB / 10.53 GB, free: 72.11 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/54.27, allocations: 9.469 kB / 10.53 GB, free: 72.11 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/54.29, allocations: 2.3 MB / 10.53 GB, free: 71.08 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.106/54.4, allocations: 23.22 MB / 10.56 GB, free: 68.13 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006658/54.4, allocations: 258.8 kB / 10.56 GB, free: 68.13 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00586/54.41, allocations: 0.5788 MB / 10.56 GB, free: 68.13 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04818/54.45, allocations: 19.59 MB / 10.58 GB, free: 68.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04944/54.5, allocations: 15.31 MB / 10.59 GB, free: 66.15 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005556/54.5, allocations: 26.66 kB / 10.59 GB, free: 66.13 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00438/54.51, allocations: 15.19 kB / 10.59 GB, free: 66.13 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002738/54.51, allocations: 211.1 kB / 10.59 GB, free: 66.13 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 removeSimpleEquations (simulation): time 0.2023/54.71, allocations: 78.2 MB / 10.67 GB, free: 26.93 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02521/54.74, allocations: 12.07 MB / 10.68 GB, free: 21.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0198/54.76, allocations: 9.555 MB / 10.69 GB, free: 15.49 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.1579/54.91, allocations: 32.68 MB / 10.72 GB, free: 4.875 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147/56.06, allocations: 9.319 MB / 10.73 GB, free: 106.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08964/56.15, allocations: 14.96 MB / 10.74 GB, free: 106.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=561): time 5.918e-05/56.15, allocations: 1.281 kB / 10.74 GB, free: 106.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=563): time 1.3/57.45, allocations: 138.3 MB / 10.88 GB, free: 103.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007347/57.45, allocations: 2.505 MB / 10.88 GB, free: 100.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04316/57.49, allocations: 13.87 MB / 10.9 GB, free: 99.34 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004642/57.5, allocations: 44.61 kB / 10.9 GB, free: 99.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0194/57.52, allocations: 7.934 MB / 10.9 GB, free: 97.94 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005744/57.52, allocations: 1.929 MB / 10.91 GB, free: 96.93 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004039/57.53, allocations: 0 / 10.91 GB, free: 96.93 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001049/57.53, allocations: 0.6794 MB / 10.91 GB, free: 96.61 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02142/57.55, allocations: 8.31 MB / 10.91 GB, free: 96.58 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.025/57.58, allocations: 11.75 MB / 10.93 GB, free: 92.62 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03019/57.61, allocations: 9.768 MB / 10.93 GB, free: 92.39 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/57.61, allocations: 14.62 kB / 10.93 GB, free: 92.39 MB / 1.167 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 1.343/58.95, allocations: 124 MB / 11.06 GB, free: 75.79 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007269/58.96, allocations: 38.12 MB / 11.09 GB, free: 36.59 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006713/58.96, allocations: 123.6 kB / 11.09 GB, free: 36.47 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51/61.47, allocations: 143.2 MB / 11.23 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02862/61.5, allocations: 2.132 MB / 11.24 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2693/61.77, allocations: 65.58 MB / 11.3 GB, free: 122.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04021/61.81, allocations: 0.9655 MB / 11.3 GB, free: 122.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005783/61.81, allocations: 0.8299 MB / 11.3 GB, free: 122.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/61.81, allocations: 4.438 kB / 11.3 GB, free: 122.8 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.216/63.03, allocations: 121.4 MB / 11.42 GB, free: 121.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006157/63.03, allocations: 123 kB / 11.42 GB, free: 121.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296/64.32, allocations: 143.3 MB / 11.56 GB, free: 17.25 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01841/64.34, allocations: 2.119 MB / 11.56 GB, free: 15.29 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488/65.83, allocations: 68.64 MB / 11.63 GB, free: 153.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03127/65.86, allocations: 0.9301 MB / 11.63 GB, free: 153.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006206/65.87, allocations: 0.7938 MB / 11.63 GB, free: 153.8 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (945): * Single equations (assignments): 869 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.009064/65.88, allocations: 347 kB / 11.63 GB, free: 153.7 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008815/65.89, allocations: 1.474 MB / 11.63 GB, free: 153.7 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3461/66.23, allocations: 43.14 MB / 11.67 GB, free: 153.1 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001727/66.23, allocations: 67.17 kB / 11.67 GB, free: 153.1 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.022e-05/66.23, allocations: 28.25 kB / 11.67 GB, free: 153.1 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3108/66.54, allocations: 38.05 MB / 11.71 GB, free: 152.4 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.373/66.92, allocations: 56.82 MB / 11.77 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.562e-05/66.92, allocations: 0 / 11.77 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01226/66.93, allocations: 1.112 MB / 11.77 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.344/67.27, allocations: 40.46 MB / 11.81 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002487/67.28, allocations: 152.1 kB / 11.81 GB, free: 148.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09576/67.37, allocations: 25.89 MB / 11.83 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/67.37, allocations: 2.188 kB / 11.83 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3351/67.71, allocations: 48.45 MB / 11.88 GB, free: 142.5 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01545/67.72, allocations: 3.123 MB / 11.88 GB, free: 141.5 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007883/67.73, allocations: 83.62 kB / 11.88 GB, free: 141.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02267/67.75, allocations: 0.7472 MB / 11.88 GB, free: 141.5 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003405/67.76, allocations: 416.6 kB / 11.88 GB, free: 141.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001508/67.76, allocations: 245.7 kB / 11.88 GB, free: 141.5 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02885/67.79, allocations: 10.4 MB / 11.9 GB, free: 137.1 MB / 1.229 GB Notification: Performance of sort global known variables: time 9.11e-07/67.79, allocations: 0 / 11.9 GB, free: 137.1 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.07611/67.86, allocations: 7.859 MB / 11.9 GB, free: 129.8 MB / 1.229 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 (519): * Single equations (assignments): 499 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01328/67.88, allocations: 5.284 MB / 11.91 GB, free: 125.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1111/67.99, allocations: 35.11 MB / 11.94 GB, free: 106.4 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/67.99, allocations: 10.09 kB / 11.94 GB, free: 106.4 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02616/68.01, allocations: 8.143 MB / 11.95 GB, free: 102.4 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06143/68.08, allocations: 7.422 MB / 11.96 GB, free: 98.54 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07953/68.16, allocations: 26.01 MB / 11.98 GB, free: 79.25 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02143/68.18, allocations: 8.936 MB / 11.99 GB, free: 74 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0672/68.24, allocations: 8.257 MB / 12 GB, free: 69.14 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00645/68.25, allocations: 0.8338 MB / 12 GB, free: 68.44 MB / 1.229 GB Notification: Performance of SimCode: time 1.603e-06/68.25, allocations: 0 / 12 GB, free: 68.44 MB / 1.229 GB Notification: Performance of Templates: time 3.369/71.62, allocations: 423.9 MB / 12.41 GB, free: 54.23 MB / 1.229 GB