Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.142/2.142, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 183.6 kB / 326.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009074/0.0009069, allocations: 101.6 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004763, allocations: 11.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.497, allocations: 456.1 MB / 1.345 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/1.497, allocations: 104.1 kB / 1.345 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 35.1/36.6, allocations: 6.223 GB / 7.568 GB, free: 89.72 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.875e-06/36.6, allocations: 4 kB / 7.568 GB, free: 89.71 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004901/36.61, allocations: 0.5256 MB / 7.568 GB, free: 89.6 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.1163/36.72, allocations: 21.43 MB / 7.589 GB, free: 81.65 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/36.72, allocations: 10.34 kB / 7.589 GB, free: 81.65 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0194/36.74, allocations: 2.314 MB / 7.591 GB, free: 80.62 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1102/36.85, allocations: 23.18 MB / 7.614 GB, free: 77.86 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001437/36.85, allocations: 0.7215 MB / 7.615 GB, free: 77.84 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00684/36.86, allocations: 1.035 MB / 7.616 GB, free: 77.82 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05761/36.92, allocations: 16.99 MB / 7.632 GB, free: 75.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006338/36.92, allocations: 17.88 kB / 7.632 GB, free: 75.89 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005069/36.92, allocations: 354.5 kB / 7.633 GB, free: 75.89 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002868/36.92, allocations: 221.6 kB / 7.633 GB, free: 75.89 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05665/36.98, allocations: 19.87 MB / 7.652 GB, free: 75.82 MB / 1.135 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.2099/37.19, allocations: 78.22 MB / 7.729 GB, free: 43.15 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03221/37.22, allocations: 12.5 MB / 7.741 GB, free: 41.52 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02274/37.25, allocations: 9.607 MB / 7.75 GB, free: 37.28 MB / 1.135 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.1096/37.36, allocations: 33.58 MB / 7.783 GB, free: 19.53 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02543/37.38, allocations: 9.469 MB / 7.792 GB, free: 14.41 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08026/37.46, allocations: 15.12 MB / 7.807 GB, free: 3.812 MB / 1.135 GB Notification: Performance of pre-optimization done (n=606): time 4.743e-05/37.46, allocations: 0 / 7.807 GB, free: 3.812 MB / 1.135 GB Notification: Performance of matching and sorting (n=860): time 3.112/40.57, allocations: 220.2 MB / 8.022 GB, free: 96.51 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008138/40.58, allocations: 2.538 MB / 8.025 GB, free: 93.49 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05255/40.63, allocations: 16.45 MB / 8.041 GB, free: 92.65 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.006032/40.63, allocations: 271 kB / 8.041 GB, free: 92.62 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01494/40.65, allocations: 7.87 MB / 8.049 GB, free: 91.19 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.007537/40.66, allocations: 2.983 MB / 8.051 GB, free: 89.67 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005324/40.66, allocations: 208.6 kB / 8.052 GB, free: 89.67 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001415/40.66, allocations: 0.7595 MB / 8.052 GB, free: 89.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03408/40.7, allocations: 10.4 MB / 8.063 GB, free: 89.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03863/40.74, allocations: 14.19 MB / 8.076 GB, free: 85.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03793/40.77, allocations: 11.76 MB / 8.088 GB, free: 84.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/40.77, allocations: 14.06 kB / 8.088 GB, free: 84.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.301/42.08, allocations: 132.7 MB / 8.217 GB, free: 21.25 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001073/42.08, allocations: 1.585 MB / 8.219 GB, free: 19.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005453/42.08, allocations: 107.9 kB / 8.219 GB, free: 19.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613/44.69, allocations: 154.3 MB / 8.37 GB, free: 141 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02621/44.72, allocations: 2.492 MB / 8.372 GB, free: 141 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2147/44.93, allocations: 57.92 MB / 8.429 GB, free: 133.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03632/44.97, allocations: 1.395 MB / 8.43 GB, free: 133.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006996/44.97, allocations: 0.9229 MB / 8.431 GB, free: 133.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/44.97, allocations: 1.969 kB / 8.431 GB, free: 133.8 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.302/46.28, allocations: 130.6 MB / 8.559 GB, free: 125.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000618/46.28, allocations: 116 kB / 8.559 GB, free: 125.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387/47.66, allocations: 153.9 MB / 8.709 GB, free: 13.47 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02317/47.69, allocations: 2.445 MB / 8.711 GB, free: 11.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417/49.1, allocations: 64.65 MB / 8.774 GB, free: 169 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03446/49.14, allocations: 1.378 MB / 8.776 GB, free: 169 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00579/49.14, allocations: 0.8735 MB / 8.777 GB, free: 169 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (990): * Single equations (assignments): 910 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.02107/49.17, allocations: 4.297 MB / 8.781 GB, free: 168.8 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009398/49.17, allocations: 1.562 MB / 8.782 GB, free: 168.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3891/49.56, allocations: 53.74 MB / 8.835 GB, free: 167.9 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002212/49.56, allocations: 102.8 kB / 8.835 GB, free: 167.9 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002267/49.56, allocations: 28.06 kB / 8.835 GB, free: 167.9 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3541/49.92, allocations: 47.48 MB / 8.881 GB, free: 166.9 MB / 1.229 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.4342/50.35, allocations: 73.17 MB / 8.953 GB, free: 162.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001524/50.35, allocations: 0 / 8.953 GB, free: 162.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01607/50.37, allocations: 1.564 MB / 8.954 GB, free: 162.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3644/50.73, allocations: 46.49 MB / 9 GB, free: 156.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003334/50.74, allocations: 355 kB / 9 GB, free: 156 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08707/50.82, allocations: 29.25 MB / 9.029 GB, free: 137.9 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/50.82, allocations: 0 / 9.029 GB, free: 137.9 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3854/51.21, allocations: 61.84 MB / 9.089 GB, free: 103.5 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01738/51.23, allocations: 3.733 MB / 9.093 GB, free: 100.4 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008073/51.23, allocations: 290.8 kB / 9.093 GB, free: 100.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02692/51.26, allocations: 1.196 MB / 9.094 GB, free: 99.35 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003672/51.27, allocations: 0.5972 MB / 9.095 GB, free: 98.98 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002217/51.27, allocations: 370 kB / 9.095 GB, free: 98.67 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03054/51.3, allocations: 11.19 MB / 9.106 GB, free: 89.62 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.072e-06/51.3, allocations: 1.375 kB / 9.106 GB, free: 89.62 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05663/51.36, allocations: 8.347 MB / 9.114 GB, free: 81.54 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (665): * Single equations (assignments): 641 * 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: 4 * 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: 3 {33 156,33 119,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01311/51.37, allocations: 5.503 MB / 9.12 GB, free: 77.15 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1586/51.53, allocations: 45.13 MB / 9.164 GB, free: 36.51 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-05/51.53, allocations: 10.53 kB / 9.164 GB, free: 36.5 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.04483/51.57, allocations: 12.32 MB / 9.176 GB, free: 24.16 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07962/51.65, allocations: 7.988 MB / 9.183 GB, free: 16.54 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.357/54.01, allocations: 41.25 MB / 9.224 GB, free: 148.1 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02476/54.03, allocations: 9.186 MB / 9.233 GB, free: 146.9 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.03932/54.07, allocations: 5.078 MB / 9.238 GB, free: 146.8 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00997/54.08, allocations: 1.259 MB / 9.239 GB, free: 146.8 MB / 1.229 GB Notification: Performance of SimCode: time 1.213e-06/54.08, allocations: 1.281 kB / 9.239 GB, free: 146.8 MB / 1.229 GB Notification: Performance of Templates: time 2.266/56.35, allocations: 456.6 MB / 9.685 GB, free: 190.4 MB / 1.261 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)