Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.459/2.459, allocations: 284.8 MB / 297.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 180.3 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.1 MB / 0.6241 GB, free: 8.156 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001058, allocations: 95.86 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.097e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.8256, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/2.187, allocations: 464.1 MB / 1.423 GB, free: 93.23 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/2.188, allocations: 93.45 kB / 1.423 GB, free: 93.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 53.77/55.96, allocations: 9.485 GB / 10.91 GB, free: 48.32 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.174e-06/55.96, allocations: 4 kB / 10.91 GB, free: 48.32 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004813/55.97, allocations: 0.4992 MB / 10.91 GB, free: 47.82 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.07201/56.04, allocations: 14.15 MB / 10.92 GB, free: 33.56 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/56.04, allocations: 8.031 kB / 10.92 GB, free: 33.55 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/56.06, allocations: 2.306 MB / 10.92 GB, free: 31.22 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1065/56.16, allocations: 23.25 MB / 10.95 GB, free: 7.902 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001326/56.17, allocations: 0.7144 MB / 10.95 GB, free: 7.188 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006552/56.17, allocations: 1.015 MB / 10.95 GB, free: 6.172 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.274/57.45, allocations: 16.57 MB / 10.97 GB, free: 62.68 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008126/57.45, allocations: 15.62 kB / 10.97 GB, free: 62.68 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005529/57.45, allocations: 358.9 kB / 10.97 GB, free: 62.68 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000482/57.45, allocations: 214.4 kB / 10.97 GB, free: 62.68 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05693/57.51, allocations: 19.42 MB / 10.98 GB, free: 62.61 MB / 1.214 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.2292/57.74, allocations: 79.67 MB / 11.06 GB, free: 29.74 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0287/57.77, allocations: 11.45 MB / 11.07 GB, free: 29.3 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02241/57.79, allocations: 9.289 MB / 11.08 GB, free: 29.21 MB / 1.214 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.1234/57.91, allocations: 33.02 MB / 11.11 GB, free: 36.67 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0239/57.94, allocations: 9.05 MB / 11.12 GB, free: 36.49 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08012/58.02, allocations: 15.13 MB / 11.14 GB, free: 36.33 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 4.154e-05/58.02, allocations: 0 / 11.14 GB, free: 36.33 MB / 1.229 GB Notification: Performance of matching and sorting (n=772): time 1.574/59.59, allocations: 169.2 MB / 11.3 GB, free: 26.88 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001534/59.59, allocations: 2.524 MB / 11.31 GB, free: 23.87 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04533/59.64, allocations: 14.75 MB / 11.32 GB, free: 22.98 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005091/59.65, allocations: 257.9 kB / 11.32 GB, free: 22.95 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01457/59.66, allocations: 7.889 MB / 11.33 GB, free: 21.57 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007274/59.67, allocations: 2.691 MB / 11.33 GB, free: 20.17 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004767/59.67, allocations: 200.3 kB / 11.33 GB, free: 20.17 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001389/59.67, allocations: 0.7456 MB / 11.33 GB, free: 19.84 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02668/59.7, allocations: 9.438 MB / 11.34 GB, free: 19.82 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03108/59.73, allocations: 13.09 MB / 11.35 GB, free: 15.81 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0301/59.76, allocations: 10.76 MB / 11.36 GB, free: 13.69 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.085e-05/59.76, allocations: 14.94 kB / 11.36 GB, free: 13.69 MB / 1.229 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 2.734/62.5, allocations: 130 MB / 11.49 GB, free: 85.06 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.00712/62.5, allocations: 38.27 MB / 11.53 GB, free: 46.23 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006084/62.5, allocations: 120.7 kB / 11.53 GB, free: 46.23 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365/63.87, allocations: 146 MB / 11.67 GB, free: 44.59 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02759/63.9, allocations: 2.691 MB / 11.67 GB, free: 44.57 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2714/64.17, allocations: 71.14 MB / 11.74 GB, free: 54.31 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03711/64.21, allocations: 1.552 MB / 11.75 GB, free: 54.24 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005607/64.21, allocations: 0.9102 MB / 11.75 GB, free: 54.23 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/64.21, allocations: 10.7 kB / 11.75 GB, free: 54.23 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.288/65.5, allocations: 126.4 MB / 11.87 GB, free: 15.02 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006731/65.5, allocations: 119.5 kB / 11.87 GB, free: 14.9 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594/68.09, allocations: 146.4 MB / 12.01 GB, free: 138.3 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02486/68.12, allocations: 2.682 MB / 12.02 GB, free: 138.3 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3005/68.42, allocations: 75.39 MB / 12.09 GB, free: 133.7 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03776/68.46, allocations: 1.523 MB / 12.09 GB, free: 133.7 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00584/68.46, allocations: 0.8666 MB / 12.09 GB, free: 133.7 MB / 1.307 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 (1070): * Single equations (assignments): 992 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.009772/68.47, allocations: 0.7129 MB / 12.09 GB, free: 133.6 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009146/68.48, allocations: 1.546 MB / 12.09 GB, free: 133.6 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3721/68.85, allocations: 48.44 MB / 12.14 GB, free: 133 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001874/68.85, allocations: 92.27 kB / 12.14 GB, free: 133 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001165/68.86, allocations: 35.5 kB / 12.14 GB, free: 133 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3187/69.17, allocations: 42.52 MB / 12.18 GB, free: 132.2 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4027/69.58, allocations: 65.67 MB / 12.25 GB, free: 116.5 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001328/69.58, allocations: 0 / 12.25 GB, free: 116.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01922/69.6, allocations: 1.813 MB / 12.25 GB, free: 115.2 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3857/69.98, allocations: 41.67 MB / 12.29 GB, free: 81.29 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002967/69.98, allocations: 329.9 kB / 12.29 GB, free: 81.1 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1486/70.13, allocations: 28.54 MB / 12.32 GB, free: 61.21 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/70.13, allocations: 6.375 kB / 12.32 GB, free: 61.21 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.69/71.82, allocations: 55.76 MB / 12.37 GB, free: 136.6 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02143/71.85, allocations: 3.598 MB / 12.38 GB, free: 136.6 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009829/71.86, allocations: 270.5 kB / 12.38 GB, free: 136.6 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03176/71.89, allocations: 1.266 MB / 12.38 GB, free: 136.6 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004433/71.89, allocations: 0.5563 MB / 12.38 GB, free: 136.5 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002889/71.89, allocations: 347.9 kB / 12.38 GB, free: 136.5 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.03434/71.93, allocations: 11.26 MB / 12.39 GB, free: 136 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.102e-06/71.93, allocations: 0.6562 kB / 12.39 GB, free: 136 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.08147/72.01, allocations: 8.746 MB / 12.4 GB, free: 136 MB / 1.307 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 (705): * Single equations (assignments): 683 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 79,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.0165/72.03, allocations: 5.624 MB / 12.4 GB, free: 134.1 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.136/72.16, allocations: 40.85 MB / 12.44 GB, free: 130.9 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-05/72.16, allocations: 10.58 kB / 12.44 GB, free: 130.9 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.03476/72.2, allocations: 10.32 MB / 12.45 GB, free: 130.7 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06714/72.26, allocations: 7.622 MB / 12.46 GB, free: 130.6 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09214/72.36, allocations: 29.15 MB / 12.49 GB, free: 125 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02178/72.38, allocations: 9.385 MB / 12.5 GB, free: 123.8 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.06307/72.44, allocations: 8.97 MB / 12.51 GB, free: 123.7 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006985/72.45, allocations: 0.9672 MB / 12.51 GB, free: 123.7 MB / 1.307 GB Notification: Performance of SimCode: time 1.502e-06/72.45, allocations: 0 / 12.51 GB, free: 123.7 MB / 1.307 GB Notification: Performance of Templates: time 3.645/76.09, allocations: 0.4896 GB / 13 GB, free: 154.4 MB / 1.323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)