Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8109/0.8109, allocations: 130.7 MB / 138.7 MB, free: 3.602 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 391.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008702, allocations: 96.88 kB / 473.9 MB, free: 4.512 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.618e-05, allocations: 4 kB / 0.5485 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.4977, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.911/1.409, allocations: 423.4 MB / 1.042 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.409, allocations: 98.12 kB / 1.042 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 44.3/45.71, allocations: 9.515 GB / 10.56 GB, free: 53.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/45.71, allocations: 0 / 10.56 GB, free: 53.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.004372/45.71, allocations: 424.5 kB / 10.56 GB, free: 53.83 MB / 0.948 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.06757/45.78, allocations: 13.49 MB / 10.57 GB, free: 48.06 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/45.78, allocations: 9.625 kB / 10.57 GB, free: 48.06 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01838/45.8, allocations: 2.198 MB / 10.57 GB, free: 47.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07509/45.87, allocations: 21.55 MB / 10.59 GB, free: 44.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008995/45.87, allocations: 250.8 kB / 10.59 GB, free: 44.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007129/45.88, allocations: 0.584 MB / 10.59 GB, free: 44.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03882/45.92, allocations: 19.57 MB / 10.61 GB, free: 44.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04877/45.97, allocations: 14.39 MB / 10.63 GB, free: 43.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005431/45.97, allocations: 18.42 kB / 10.63 GB, free: 43.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004978/45.97, allocations: 11.12 kB / 10.63 GB, free: 43.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004805/45.97, allocations: 363.8 kB / 10.63 GB, free: 43.83 MB / 0.948 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.1561/46.13, allocations: 78.57 MB / 10.7 GB, free: 9.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/46.15, allocations: 12.4 MB / 10.72 GB, free: 9.332 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01415/46.16, allocations: 9.745 MB / 10.73 GB, free: 9.25 MB / 0.948 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.08456/46.25, allocations: 33.5 MB / 10.76 GB, free: 360 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01957/46.27, allocations: 9.012 MB / 10.77 GB, free: 192 kB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05389/46.32, allocations: 15.22 MB / 10.78 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=593): time 8.879e-05/46.32, allocations: 4 kB / 10.78 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of matching and sorting (n=595): time 1.863/48.18, allocations: 139.9 MB / 10.92 GB, free: 87.61 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/48.18, allocations: 121.9 kB / 10.92 GB, free: 87.53 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03907/48.22, allocations: 13.38 MB / 10.93 GB, free: 86.87 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.005544/48.23, allocations: 40.39 kB / 10.93 GB, free: 86.84 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0114/48.24, allocations: 7.317 MB / 10.94 GB, free: 86.61 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.007025/48.25, allocations: 2.035 MB / 10.94 GB, free: 86.46 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003908/48.25, allocations: 0 / 10.94 GB, free: 86.46 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.00117/48.25, allocations: 0.6408 MB / 10.94 GB, free: 86.14 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01642/48.27, allocations: 7.947 MB / 10.95 GB, free: 86.12 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0169/48.29, allocations: 10.7 MB / 10.96 GB, free: 82.99 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01888/48.3, allocations: 9.29 MB / 10.97 GB, free: 82.87 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/48.3, allocations: 13.5 kB / 10.97 GB, free: 82.87 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1089) (initialization): time 0.5978/48.9, allocations: 123 MB / 11.09 GB, free: 79.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.006809/48.91, allocations: 36.8 MB / 11.13 GB, free: 40.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/48.91, allocations: 56.02 kB / 11.13 GB, free: 40.97 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662/50.57, allocations: 143.1 MB / 11.27 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/50.59, allocations: 2.65 MB / 11.27 GB, free: 112.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1398/50.73, allocations: 65.55 MB / 11.33 GB, free: 107.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02309/50.75, allocations: 1.048 MB / 11.33 GB, free: 107.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005202/50.75, allocations: 0.7944 MB / 11.33 GB, free: 107.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/50.75, allocations: 7.031 kB / 11.33 GB, free: 107.9 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5941/51.35, allocations: 120.5 MB / 11.45 GB, free: 106.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003187/51.35, allocations: 58.62 kB / 11.45 GB, free: 106.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6094/51.96, allocations: 143.2 MB / 11.59 GB, free: 3.973 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/51.97, allocations: 2.644 MB / 11.59 GB, free: 1.492 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183/53.15, allocations: 68.21 MB / 11.66 GB, free: 125.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02262/53.18, allocations: 1.018 MB / 11.66 GB, free: 125.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00524/53.18, allocations: 0.7542 MB / 11.66 GB, free: 125.8 MB / 1.026 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 (913): * Single equations (assignments): 901 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.00853/53.19, allocations: 319.1 kB / 11.66 GB, free: 125.7 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007811/53.2, allocations: 1.393 MB / 11.66 GB, free: 125.7 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1902/53.39, allocations: 43.46 MB / 11.71 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001585/53.39, allocations: 71.81 kB / 11.71 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.672e-05/53.39, allocations: 31.78 kB / 11.71 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1656/53.55, allocations: 38.37 MB / 11.74 GB, free: 124.5 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2142/53.77, allocations: 57.64 MB / 11.8 GB, free: 120.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.374e-05/53.77, allocations: 0.8125 kB / 11.8 GB, free: 120.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007593/53.78, allocations: 1.163 MB / 11.8 GB, free: 120.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1754/53.95, allocations: 40.47 MB / 11.84 GB, free: 118.3 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002455/53.95, allocations: 152.4 kB / 11.84 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0492/54, allocations: 25.83 MB / 11.87 GB, free: 103.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/54, allocations: 7.688 kB / 11.87 GB, free: 103.4 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1717/54.18, allocations: 48.84 MB / 11.91 GB, free: 76.23 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01194/54.19, allocations: 3.249 MB / 11.92 GB, free: 74.29 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006944/54.19, allocations: 72.53 kB / 11.92 GB, free: 74.25 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0162/54.21, allocations: 0.805 MB / 11.92 GB, free: 73.8 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003022/54.21, allocations: 431.3 kB / 11.92 GB, free: 73.58 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001696/54.22, allocations: 266.7 kB / 11.92 GB, free: 73.41 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02067/54.24, allocations: 10.06 MB / 11.93 GB, free: 68.04 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.623e-06/54.24, allocations: 0 / 11.93 GB, free: 68.04 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05653/54.29, allocations: 7.892 MB / 11.94 GB, free: 60.69 MB / 1.026 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],pumpCoo.filter.s[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 (551): * Single equations (assignments): 531 * 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.01288/54.31, allocations: 5.22 MB / 11.94 GB, free: 56.61 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.06551/54.37, allocations: 32.51 MB / 11.97 GB, free: 31.84 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/54.37, allocations: 0.7656 kB / 11.97 GB, free: 31.84 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.9459/55.32, allocations: 8.327 MB / 11.98 GB, free: 123.4 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04056/55.36, allocations: 6.973 MB / 11.99 GB, free: 123.3 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06236/55.42, allocations: 26.4 MB / 12.01 GB, free: 118.3 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01435/55.43, allocations: 8.526 MB / 12.02 GB, free: 117.2 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03717/55.47, allocations: 8.055 MB / 12.03 GB, free: 117.1 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003487/55.48, allocations: 0.7944 MB / 12.03 GB, free: 117.1 MB / 1.026 GB Notification: Performance of SimCode: time 1.152e-06/55.48, allocations: 0 / 12.03 GB, free: 117.1 MB / 1.026 GB Notification: Performance of Templates: time 2.162/57.64, allocations: 407.5 MB / 12.43 GB, free: 149.5 MB / 1.057 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)