Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.126/2.126, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 174.5 kB / 325.6 MB, free: 2.82 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.44/2.44, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001086/0.001086, allocations: 96.12 kB / 0.6811 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006156/0.0006157, allocations: 18.61 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.219, allocations: 106.2 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.527, allocations: 456.3 MB / 1.344 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/1.527, allocations: 99.05 kB / 1.345 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 48.35/49.88, allocations: 8.484 GB / 9.829 GB, free: 94.13 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.196e-06/49.88, allocations: 0 / 9.829 GB, free: 94.13 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004932/49.88, allocations: 0.5188 MB / 9.829 GB, free: 94.02 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.1185/50, allocations: 21.41 MB / 9.85 GB, free: 86.29 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/50, allocations: 6.031 kB / 9.85 GB, free: 86.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02026/50.02, allocations: 2.303 MB / 9.853 GB, free: 85.28 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1111/50.13, allocations: 23.5 MB / 9.875 GB, free: 82.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001426/50.13, allocations: 0.7173 MB / 9.876 GB, free: 82.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006713/50.14, allocations: 1.022 MB / 9.877 GB, free: 82.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05691/50.2, allocations: 16.79 MB / 9.894 GB, free: 80.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006519/50.2, allocations: 18.41 kB / 9.894 GB, free: 80.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005076/50.2, allocations: 358.8 kB / 9.894 GB, free: 80.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/50.2, allocations: 213 kB / 9.894 GB, free: 80.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05549/50.26, allocations: 19.79 MB / 9.913 GB, free: 80.74 MB / 1.151 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.2081/50.47, allocations: 79.24 MB / 9.991 GB, free: 46.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03047/50.5, allocations: 11.88 MB / 10 GB, free: 46.45 MB / 1.151 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.1021/50.6, allocations: 32.88 MB / 10.03 GB, free: 37.82 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02526/50.63, allocations: 9.241 MB / 10.04 GB, free: 37.64 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08091/50.71, allocations: 14.9 MB / 10.06 GB, free: 36.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=581): time 4.811e-05/50.71, allocations: 0 / 10.06 GB, free: 36.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=811): time 2.912/53.62, allocations: 197.7 MB / 10.25 GB, free: 107.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007929/53.62, allocations: 2.532 MB / 10.25 GB, free: 104.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06123/53.68, allocations: 14.9 MB / 10.27 GB, free: 103.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.006766/53.69, allocations: 262 kB / 10.27 GB, free: 103.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01738/53.71, allocations: 7.916 MB / 10.28 GB, free: 103.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007506/53.71, allocations: 2.812 MB / 10.28 GB, free: 103.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005226/53.72, allocations: 214.4 kB / 10.28 GB, free: 103.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001247/53.72, allocations: 0.7476 MB / 10.28 GB, free: 103.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03217/53.75, allocations: 10.07 MB / 10.29 GB, free: 103 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03821/53.79, allocations: 13.76 MB / 10.3 GB, free: 99.02 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0372/53.83, allocations: 11.41 MB / 10.31 GB, free: 98.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/53.83, allocations: 15.25 kB / 10.31 GB, free: 98.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.289/55.12, allocations: 129.5 MB / 10.44 GB, free: 94.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006992/55.12, allocations: 36.69 MB / 10.48 GB, free: 57.27 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006181/55.12, allocations: 123.7 kB / 10.48 GB, free: 57.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57/57.69, allocations: 147.9 MB / 10.62 GB, free: 151.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0268/57.72, allocations: 2.577 MB / 10.62 GB, free: 151.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.299/58.02, allocations: 76.81 MB / 10.7 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03664/58.06, allocations: 1.444 MB / 10.7 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006632/58.06, allocations: 0.918 MB / 10.7 GB, free: 144.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/58.06, allocations: 2.688 kB / 10.7 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.426/59.49, allocations: 128.1 MB / 10.83 GB, free: 142.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006171/59.49, allocations: 114.8 kB / 10.83 GB, free: 142.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395/60.89, allocations: 147.7 MB / 10.97 GB, free: 62.21 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02929/60.91, allocations: 2.556 MB / 10.97 GB, free: 59.84 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568/62.48, allocations: 81.05 MB / 11.05 GB, free: 144 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03461/62.52, allocations: 1.408 MB / 11.05 GB, free: 144 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006745/62.52, allocations: 0.8695 MB / 11.05 GB, free: 144 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 981 * 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/62.55, allocations: 4.281 MB / 11.06 GB, free: 143.8 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008893/62.55, allocations: 1.55 MB / 11.06 GB, free: 143.8 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.376/62.93, allocations: 50.26 MB / 11.11 GB, free: 143.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002364/62.93, allocations: 96.47 kB / 11.11 GB, free: 143.1 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002208/62.93, allocations: 29.44 kB / 11.11 GB, free: 143.1 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3746/63.31, allocations: 44.25 MB / 11.15 GB, free: 142.4 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4158/63.72, allocations: 68.45 MB / 11.22 GB, free: 138.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001436/63.72, allocations: 9.031 kB / 11.22 GB, free: 138.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01874/63.74, allocations: 1.727 MB / 11.22 GB, free: 138.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3752/64.12, allocations: 42.79 MB / 11.26 GB, free: 138.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003149/64.12, allocations: 340 kB / 11.26 GB, free: 138.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1236/64.24, allocations: 31.84 MB / 11.29 GB, free: 131 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/64.24, allocations: 2.156 kB / 11.29 GB, free: 131 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3767/64.62, allocations: 58.18 MB / 11.35 GB, free: 113.5 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01684/64.64, allocations: 3.63 MB / 11.35 GB, free: 111.4 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008733/64.65, allocations: 277.1 kB / 11.35 GB, free: 111.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02751/64.67, allocations: 1.223 MB / 11.36 GB, free: 110.6 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005035/64.68, allocations: 0.5835 MB / 11.36 GB, free: 110.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003049/64.68, allocations: 351.5 kB / 11.36 GB, free: 110.1 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.03405/64.72, allocations: 11.42 MB / 11.37 GB, free: 104.2 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.423e-06/64.72, allocations: 0 / 11.37 GB, free: 104.2 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.07008/64.79, allocations: 8.788 MB / 11.38 GB, free: 96.55 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01519/64.8, allocations: 5.632 MB / 11.38 GB, free: 92.31 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1597/64.96, allocations: 43.92 MB / 11.42 GB, free: 68.7 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/64.96, allocations: 9.656 kB / 11.42 GB, free: 68.69 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.04213/65, allocations: 11.72 MB / 11.44 GB, free: 59.38 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.066/65.07, allocations: 7.771 MB / 11.44 GB, free: 54.14 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1086/65.18, allocations: 40.79 MB / 11.48 GB, free: 17.55 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.298/67.48, allocations: 10.76 MB / 11.49 GB, free: 126.9 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04562/67.52, allocations: 5.487 MB / 11.5 GB, free: 126.7 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0112/67.53, allocations: 1.306 MB / 11.5 GB, free: 126.7 MB / 1.214 GB Notification: Performance of SimCode: time 2.766e-06/67.53, allocations: 0.75 kB / 11.5 GB, free: 126.7 MB / 1.214 GB Notification: Performance of Templates: time 2.31/69.84, allocations: 470.3 MB / 11.96 GB, free: 207.2 MB / 1.292 GB