Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01082/0.01082, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8771/0.8771, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.0009214/0.0009214, allocations: 97.12 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 12 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4396, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.729, allocations: 424.4 MB / 1.064 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.729, allocations: 102.5 kB / 1.064 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 43.11/44.84, allocations: 9.584 GB / 10.65 GB, free: 71.78 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.985e-06/44.84, allocations: 0 / 10.65 GB, free: 71.78 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.004475/44.84, allocations: 420.3 kB / 10.65 GB, free: 71.7 MB / 0.9636 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.09388/44.94, allocations: 20.64 MB / 10.67 GB, free: 64.19 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/44.94, allocations: 9.125 kB / 10.67 GB, free: 64.19 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/44.96, allocations: 2.191 MB / 10.67 GB, free: 63.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08238/45.04, allocations: 21.81 MB / 10.69 GB, free: 60.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001898/45.04, allocations: 0.682 MB / 10.69 GB, free: 60.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008247/45.05, allocations: 0.9508 MB / 10.69 GB, free: 60.65 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.057/45.11, allocations: 15.77 MB / 10.71 GB, free: 59.84 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001082/45.11, allocations: 11.31 kB / 10.71 GB, free: 59.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006617/45.12, allocations: 327.7 kB / 10.71 GB, free: 59.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004967/45.12, allocations: 371 kB / 10.71 GB, free: 59.82 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05339/45.17, allocations: 20.02 MB / 10.73 GB, free: 59.75 MB / 0.9636 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.1877/45.36, allocations: 79.88 MB / 10.81 GB, free: 25.31 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/45.38, allocations: 11.97 MB / 10.82 GB, free: 24.84 MB / 0.9636 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.07946/45.46, allocations: 33.35 MB / 10.85 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0192/45.48, allocations: 9.351 MB / 10.86 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04499/45.52, allocations: 14.84 MB / 10.88 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=593): time 5.052e-05/45.52, allocations: 0 / 10.88 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=807): time 1.939/47.46, allocations: 201 MB / 11.07 GB, free: 89.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/47.46, allocations: 138.5 kB / 11.07 GB, free: 89.33 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0422/47.5, allocations: 14.42 MB / 11.09 GB, free: 88.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.005225/47.51, allocations: 234 kB / 11.09 GB, free: 88.57 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01446/47.52, allocations: 7.256 MB / 11.09 GB, free: 87.39 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.009963/47.53, allocations: 2.811 MB / 11.1 GB, free: 85.96 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00444/47.54, allocations: 201.8 kB / 11.1 GB, free: 85.95 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001101/47.54, allocations: 0.7074 MB / 11.1 GB, free: 85.63 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02204/47.56, allocations: 9.797 MB / 11.11 GB, free: 85.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02702/47.59, allocations: 12.74 MB / 11.12 GB, free: 82.31 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02604/47.61, allocations: 11 MB / 11.13 GB, free: 82.01 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001799/47.61, allocations: 15.94 kB / 11.13 GB, free: 82.01 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.5753/48.19, allocations: 128.3 MB / 11.25 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.027/49.22, allocations: 36.95 MB / 11.29 GB, free: 85.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004485/49.22, allocations: 52.75 kB / 11.29 GB, free: 85.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6103/49.83, allocations: 146.4 MB / 11.43 GB, free: 85.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01788/49.84, allocations: 3.206 MB / 11.44 GB, free: 85.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1633/50.01, allocations: 74.36 MB / 11.51 GB, free: 78.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02846/50.04, allocations: 1.616 MB / 11.51 GB, free: 78.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006232/50.04, allocations: 0.8709 MB / 11.51 GB, free: 78.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/50.04, allocations: 4.156 kB / 11.51 GB, free: 78.71 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6058/50.65, allocations: 127.1 MB / 11.64 GB, free: 3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004244/50.65, allocations: 56 kB / 11.64 GB, free: 2.945 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679/52.33, allocations: 146.7 MB / 11.78 GB, free: 110.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01632/52.34, allocations: 3.194 MB / 11.78 GB, free: 110.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1918/52.54, allocations: 79.08 MB / 11.86 GB, free: 105.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03108/52.57, allocations: 1.587 MB / 11.86 GB, free: 105.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00686/52.57, allocations: 0.8261 MB / 11.86 GB, free: 105.9 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1035): * Single equations (assignments): 1021 * 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 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.02419/52.6, allocations: 3.939 MB / 11.87 GB, free: 105.8 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01335/52.61, allocations: 1.471 MB / 11.87 GB, free: 105.8 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2197/52.83, allocations: 50.25 MB / 11.92 GB, free: 101.8 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002045/52.83, allocations: 95.89 kB / 11.92 GB, free: 101.7 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002696/52.83, allocations: 28.5 kB / 11.92 GB, free: 101.7 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1798/53.01, allocations: 44.32 MB / 11.96 GB, free: 71.79 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2568/53.27, allocations: 67.76 MB / 12.03 GB, free: 19.62 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001272/53.27, allocations: 0 / 12.03 GB, free: 19.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155/54.42, allocations: 1.823 MB / 12.03 GB, free: 119.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.187/54.61, allocations: 41.77 MB / 12.07 GB, free: 119.8 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003545/54.61, allocations: 336.6 kB / 12.07 GB, free: 119.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06339/54.68, allocations: 29.05 MB / 12.1 GB, free: 114.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/54.68, allocations: 6.797 kB / 12.1 GB, free: 114.5 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.222/54.9, allocations: 58.3 MB / 12.15 GB, free: 113.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01716/54.92, allocations: 3.689 MB / 12.16 GB, free: 113.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009782/54.93, allocations: 257.6 kB / 12.16 GB, free: 113.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02441/54.95, allocations: 1.305 MB / 12.16 GB, free: 113.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004649/54.96, allocations: 0.5764 MB / 12.16 GB, free: 113.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002629/54.96, allocations: 353.3 kB / 12.16 GB, free: 113.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03265/54.99, allocations: 11.07 MB / 12.17 GB, free: 112.8 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.01e-07/54.99, allocations: 1.406 kB / 12.17 GB, free: 112.8 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.07047/55.06, allocations: 8.732 MB / 12.18 GB, free: 112.8 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],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 (732): * Single equations (assignments): 711 * 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: 3 * 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: 2 {6 81,7 83} Notification: Performance of Backend phase and start with SimCode phase: time 0.0167/55.08, allocations: 5.565 MB / 12.19 GB, free: 110.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.1126/55.19, allocations: 40.06 MB / 12.22 GB, free: 109.7 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/55.19, allocations: 2 kB / 12.22 GB, free: 109.7 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.03137/55.22, allocations: 11.3 MB / 12.24 GB, free: 109.3 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04954/55.27, allocations: 7.158 MB / 12.24 GB, free: 109.3 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1033/55.38, allocations: 40.33 MB / 12.28 GB, free: 87.61 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02112/55.4, allocations: 8.939 MB / 12.29 GB, free: 82.29 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03555/55.43, allocations: 5.549 MB / 12.3 GB, free: 78.43 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01004/55.44, allocations: 1.263 MB / 12.3 GB, free: 77.41 MB / 1.026 GB Notification: Performance of SimCode: time 1.793e-06/55.44, allocations: 1.422 kB / 12.3 GB, free: 77.41 MB / 1.026 GB Notification: Performance of Templates: time 3.039/58.48, allocations: 450.1 MB / 12.74 GB, free: 9.559 MB / 1.042 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)