Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.679/1.679, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 191.1 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008538/0.0008537, allocations: 98.81 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004218, allocations: 12 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7218/0.7222, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9823/1.705, allocations: 454.3 MB / 1.47 GB, free: 240 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.705, allocations: 102.7 kB / 1.47 GB, free: 240 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 39.22/40.93, allocations: 9.511 GB / 10.98 GB, free: 92.62 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.855e-06/40.93, allocations: 1.5 kB / 10.98 GB, free: 92.62 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.003645/40.93, allocations: 419.8 kB / 10.98 GB, free: 92.62 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.08822/41.02, allocations: 20.4 MB / 11 GB, free: 86.29 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/41.02, allocations: 11.94 kB / 11 GB, free: 86.29 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/41.04, allocations: 2.184 MB / 11 GB, free: 85.32 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08044/41.12, allocations: 21.86 MB / 11.02 GB, free: 82.24 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001619/41.12, allocations: 0.6833 MB / 11.03 GB, free: 82.23 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006869/41.13, allocations: 0.9549 MB / 11.03 GB, free: 82.21 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05597/41.18, allocations: 15.82 MB / 11.04 GB, free: 81.42 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006529/41.18, allocations: 18.34 kB / 11.04 GB, free: 81.42 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004911/41.19, allocations: 329.2 kB / 11.04 GB, free: 81.42 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004321/41.19, allocations: 362.8 kB / 11.04 GB, free: 81.4 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04557/41.23, allocations: 20.02 MB / 11.06 GB, free: 81.34 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 preOpt removeSimpleEquations (simulation): time 0.1855/41.42, allocations: 79.66 MB / 11.14 GB, free: 47.4 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02272/41.44, allocations: 11.97 MB / 11.15 GB, free: 46.93 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01774/41.46, allocations: 9.631 MB / 11.16 GB, free: 46.84 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 preOpt evalFunc (simulation): time 0.09045/41.55, allocations: 33.55 MB / 11.19 GB, free: 38.15 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02047/41.57, allocations: 9.367 MB / 11.2 GB, free: 37.98 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0467/41.62, allocations: 15.05 MB / 11.22 GB, free: 37.72 MB / 1.26 GB Notification: Performance of pre-optimization done (n=593): time 6.843e-05/41.62, allocations: 0 / 11.22 GB, free: 37.72 MB / 1.26 GB Notification: Performance of matching and sorting (n=804): time 0.846/42.46, allocations: 207.2 MB / 11.42 GB, free: 10.57 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/42.46, allocations: 141.6 kB / 11.42 GB, free: 10.42 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0335/42.5, allocations: 15.82 MB / 11.44 GB, free: 244 kB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.00429/42.5, allocations: 237.2 kB / 11.44 GB, free: 4 kB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.01237/42.51, allocations: 7.242 MB / 11.44 GB, free: 9.402 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.00697/42.52, allocations: 2.801 MB / 11.45 GB, free: 6.863 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004171/42.53, allocations: 196.9 kB / 11.45 GB, free: 6.672 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.001186/42.53, allocations: 0.7091 MB / 11.45 GB, free: 6.078 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271/43.8, allocations: 10.43 MB / 11.46 GB, free: 95.52 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03261/43.83, allocations: 12.89 MB / 11.47 GB, free: 92.36 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05471/43.89, allocations: 22.33 MB / 11.49 GB, free: 90.19 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/43.89, allocations: 16.14 kB / 11.49 GB, free: 90.19 MB / 1.276 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.5709/44.46, allocations: 129.3 MB / 11.62 GB, free: 89.38 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.001575/44.46, allocations: 1.78 MB / 11.62 GB, free: 87.15 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/44.46, allocations: 53.06 kB / 11.62 GB, free: 87.15 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5735/45.03, allocations: 147.4 MB / 11.76 GB, free: 84.67 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01679/45.05, allocations: 3.298 MB / 11.77 GB, free: 84.65 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09501/45.14, allocations: 52.9 MB / 11.82 GB, free: 60.39 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02709/45.17, allocations: 1.625 MB / 11.82 GB, free: 59.01 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005956/45.18, allocations: 0.8696 MB / 11.82 GB, free: 58.22 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/45.18, allocations: 4 kB / 11.82 GB, free: 58.21 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.796/46.97, allocations: 127.8 MB / 11.94 GB, free: 117.8 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003779/46.97, allocations: 54.84 kB / 11.95 GB, free: 117.8 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5945/47.57, allocations: 147.3 MB / 12.09 GB, free: 117.7 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01608/47.58, allocations: 3.285 MB / 12.09 GB, free: 117.7 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1126/47.7, allocations: 57.18 MB / 12.15 GB, free: 113 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02567/47.72, allocations: 1.595 MB / 12.15 GB, free: 113 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005564/47.73, allocations: 0.8307 MB / 12.15 GB, free: 113 MB / 1.323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1038): * Single equations (assignments): 1024 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.01825/47.75, allocations: 3.933 MB / 12.15 GB, free: 112.8 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009285/47.76, allocations: 1.455 MB / 12.16 GB, free: 112.8 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2094/47.97, allocations: 51.12 MB / 12.21 GB, free: 112 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003216/47.97, allocations: 103.6 kB / 12.21 GB, free: 112 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003679/47.97, allocations: 26.84 kB / 12.21 GB, free: 112 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1773/48.14, allocations: 45.16 MB / 12.25 GB, free: 111 MB / 1.323 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 0.2765/48.42, allocations: 68.84 MB / 12.32 GB, free: 91.22 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/48.42, allocations: 4.172 kB / 12.32 GB, free: 91.22 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01022/48.43, allocations: 1.837 MB / 12.32 GB, free: 89.89 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1613/48.59, allocations: 42.69 MB / 12.36 GB, free: 49.11 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003161/48.6, allocations: 338.8 kB / 12.36 GB, free: 48.93 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04454/48.64, allocations: 23.38 MB / 12.38 GB, free: 32.47 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/48.64, allocations: 3.094 kB / 12.38 GB, free: 32.47 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.42/50.06, allocations: 59.02 MB / 12.44 GB, free: 127.3 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01615/50.08, allocations: 3.662 MB / 12.44 GB, free: 127.2 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009498/50.09, allocations: 256 kB / 12.45 GB, free: 127.2 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02383/50.11, allocations: 1.312 MB / 12.45 GB, free: 127.2 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003531/50.11, allocations: 0.5638 MB / 12.45 GB, free: 127.2 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001617/50.11, allocations: 351.6 kB / 12.45 GB, free: 127.2 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.02854/50.14, allocations: 10.81 MB / 12.46 GB, free: 126.8 MB / 1.323 GB Notification: Performance of sort global known variables: time 8.02e-07/50.14, allocations: 0.5 kB / 12.46 GB, free: 126.8 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.0614/50.2, allocations: 8.23 MB / 12.47 GB, free: 126.8 MB / 1.323 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.s[1],pmpSouth.filter.s[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],pmpNorth.filter.s[2],valSouth1[1].filter.s[1],valSouth1[1].filter.s[2],valSouth1[2].filter.s[1],valSouth1[2].filter.s[2],valSouth1[3].filter.s[1],valSouth1[3].filter.s[2],valSouth1[4].filter.s[1],valSouth1[4].filter.s[2],valSouth2[1].filter.s[1],valSouth2[1].filter.s[2],valSouth2[2].filter.s[1],valSouth2[2].filter.s[2],valSouth2[3].filter.s[1],valSouth2[3].filter.s[2],valSouth2[4].filter.s[1],valSouth2[4].filter.s[2],valSouth2[5].filter.s[1],valSouth2[5].filter.s[2],valSouth2[6].filter.s[1],valSouth2[6].filter.s[2],valSouth2[7].filter.s[1],valSouth2[7].filter.s[2],valSouth2[8].filter.s[1],valSouth2[8].filter.s[2],valNorth1[1].filter.s[1],valNorth1[1].filter.s[2],valNorth1[2].filter.s[1],valNorth1[2].filter.s[2],valNorth1[3].filter.s[1],valNorth1[3].filter.s[2],valNorth1[4].filter.s[1],valNorth1[4].filter.s[2],valNorth2[1].filter.s[1],valNorth2[1].filter.s[2],valNorth2[2].filter.s[1],valNorth2[2].filter.s[2],valNorth2[3].filter.s[1],valNorth2[3].filter.s[2],valNorth2[4].filter.s[1],valNorth2[4].filter.s[2],valNorth2[5].filter.s[1],valNorth2[5].filter.s[2],valNorth2[6].filter.s[1],valNorth2[6].filter.s[2],valNorth2[7].filter.s[1],valNorth2[7].filter.s[2],valNorth2[8].filter.s[1],valNorth2[8].filter.s[2],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],pumpHea.filter.s[2],valHea.filter.s[1],valHea.filter.s[2],valCoo.filter.s[1],valCoo.filter.s[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * 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 (737): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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 {7 83,1 1,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01681/50.22, allocations: 5.431 MB / 12.47 GB, free: 124.9 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.1065/50.33, allocations: 40.26 MB / 12.51 GB, free: 123.9 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/50.33, allocations: 4.188 kB / 12.51 GB, free: 123.9 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.02771/50.36, allocations: 11.46 MB / 12.52 GB, free: 123.5 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0628/50.42, allocations: 7.196 MB / 12.53 GB, free: 123.5 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1008/50.52, allocations: 40.34 MB / 12.57 GB, free: 110.1 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02381/50.54, allocations: 8.605 MB / 12.58 GB, free: 109 MB / 1.323 GB Notification: Performance of simCode: alias equations: time 0.03665/50.58, allocations: 5.566 MB / 12.58 GB, free: 108.8 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00982/50.59, allocations: 1.245 MB / 12.58 GB, free: 108.8 MB / 1.323 GB Notification: Performance of SimCode: time 1.693e-06/50.59, allocations: 1.5 kB / 12.58 GB, free: 108.8 MB / 1.323 GB Notification: Performance of Templates: time 2.791/53.38, allocations: 414.5 MB / 12.99 GB, free: 157.6 MB / 1.354 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)