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.00796/0.00796, allocations: 172 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/package.mo): time 0.7293/0.7293, allocations: 132.3 MB / 148.1 MB, free: 280 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 403.2 MB, free: 6.781 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.0009654/0.0009655, allocations: 97.47 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004001, allocations: 12 kB / 0.5641 GB, free: 2.105 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4487, allocations: 81.58 MB / 0.6437 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.725, allocations: 424.1 MB / 1.058 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.725, allocations: 104.2 kB / 1.058 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 42.58/44.3, allocations: 9.584 GB / 10.64 GB, free: 76.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.066e-06/44.3, allocations: 4 kB / 10.64 GB, free: 76.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00368/44.31, allocations: 430.7 kB / 10.64 GB, free: 76.28 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.08711/44.39, allocations: 20.63 MB / 10.66 GB, free: 68.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/44.39, allocations: 12.66 kB / 10.66 GB, free: 68.71 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/44.41, allocations: 2.191 MB / 10.66 GB, free: 67.73 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07824/44.49, allocations: 21.81 MB / 10.69 GB, free: 65.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001416/44.49, allocations: 0.6815 MB / 10.69 GB, free: 65.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007075/44.5, allocations: 0.95 MB / 10.69 GB, free: 65.17 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04964/44.55, allocations: 15.76 MB / 10.7 GB, free: 64.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005914/44.55, allocations: 15.61 kB / 10.7 GB, free: 64.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005154/44.55, allocations: 327.1 kB / 10.7 GB, free: 64.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005664/44.55, allocations: 366.6 kB / 10.7 GB, free: 64.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04186/44.6, allocations: 20.02 MB / 10.72 GB, free: 64.27 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.1668/44.76, allocations: 79.89 MB / 10.8 GB, free: 29.63 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02075/44.78, allocations: 11.97 MB / 10.81 GB, free: 29.16 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.07988/44.86, allocations: 33.35 MB / 10.85 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0195/44.88, allocations: 9.344 MB / 10.85 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04616/44.93, allocations: 14.83 MB / 10.87 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=593): time 6.702e-05/44.93, allocations: 1.406 kB / 10.87 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of matching and sorting (n=807): time 1.892/46.82, allocations: 201.7 MB / 11.07 GB, free: 90.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/46.82, allocations: 138 kB / 11.07 GB, free: 90.73 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04322/46.86, allocations: 14.41 MB / 11.08 GB, free: 90 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.005748/46.87, allocations: 241.1 kB / 11.08 GB, free: 89.97 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01698/46.89, allocations: 7.257 MB / 11.09 GB, free: 88.79 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.007807/46.9, allocations: 2.81 MB / 11.09 GB, free: 87.36 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00467/46.9, allocations: 196.1 kB / 11.09 GB, free: 87.36 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001281/46.9, allocations: 0.7076 MB / 11.09 GB, free: 87.04 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02269/46.92, allocations: 9.799 MB / 11.1 GB, free: 86.98 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02562/46.95, allocations: 12.74 MB / 11.11 GB, free: 83.72 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02545/46.97, allocations: 11.01 MB / 11.12 GB, free: 83.42 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001686/46.98, allocations: 15.84 kB / 11.12 GB, free: 83.42 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.5689/47.54, allocations: 128.3 MB / 11.25 GB, free: 16.08 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.031/48.57, allocations: 36.95 MB / 11.29 GB, free: 89.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005249/48.58, allocations: 53.25 kB / 11.29 GB, free: 89.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6111/49.19, allocations: 146.4 MB / 11.43 GB, free: 89.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01851/49.21, allocations: 3.202 MB / 11.43 GB, free: 89.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2031/49.41, allocations: 74.36 MB / 11.5 GB, free: 83.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03942/49.45, allocations: 1.625 MB / 11.51 GB, free: 83.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007869/49.46, allocations: 0.862 MB / 11.51 GB, free: 83.12 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/49.46, allocations: 3.781 kB / 11.51 GB, free: 83.12 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6711/50.13, allocations: 127.1 MB / 11.63 GB, free: 8.484 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004447/50.13, allocations: 52.19 kB / 11.63 GB, free: 8.434 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782/51.91, allocations: 146.7 MB / 11.77 GB, free: 114.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/51.93, allocations: 3.188 MB / 11.78 GB, free: 114.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1907/52.12, allocations: 79.09 MB / 11.85 GB, free: 109.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02598/52.14, allocations: 1.588 MB / 11.86 GB, free: 109.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005492/52.15, allocations: 0.8309 MB / 11.86 GB, free: 109.7 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.01924/52.17, allocations: 3.936 MB / 11.86 GB, free: 109.6 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01063/52.18, allocations: 1.472 MB / 11.86 GB, free: 109.6 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2168/52.4, allocations: 50.25 MB / 11.91 GB, free: 105.8 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002115/52.4, allocations: 94.38 kB / 11.91 GB, free: 105.7 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002793/52.4, allocations: 31.09 kB / 11.91 GB, free: 105.6 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1789/52.57, allocations: 44.32 MB / 11.95 GB, free: 75.56 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.429/54, allocations: 67.75 MB / 12.02 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000113/54, allocations: 3.188 kB / 12.02 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01219/54.02, allocations: 1.831 MB / 12.02 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1817/54.2, allocations: 41.77 MB / 12.06 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005004/54.2, allocations: 335.2 kB / 12.06 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0753/54.28, allocations: 29.05 MB / 12.09 GB, free: 102.8 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/54.28, allocations: 2 kB / 12.09 GB, free: 102.8 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2441/54.52, allocations: 58.3 MB / 12.15 GB, free: 101.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02009/54.54, allocations: 3.687 MB / 12.15 GB, free: 101.5 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01052/54.55, allocations: 253.2 kB / 12.15 GB, free: 101.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02311/54.58, allocations: 1.312 MB / 12.15 GB, free: 101.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004654/54.58, allocations: 0.5792 MB / 12.15 GB, free: 101.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003305/54.58, allocations: 351.5 kB / 12.15 GB, free: 101.5 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03364/54.62, allocations: 11.07 MB / 12.17 GB, free: 101.1 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.61e-07/54.62, allocations: 3 kB / 12.17 GB, free: 101.1 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.07856/54.7, allocations: 8.73 MB / 12.17 GB, free: 101.1 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.01758/54.71, allocations: 5.563 MB / 12.18 GB, free: 99.14 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.1159/54.83, allocations: 40.06 MB / 12.22 GB, free: 97.93 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/54.83, allocations: 3.906 kB / 12.22 GB, free: 97.93 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.03424/54.86, allocations: 11.3 MB / 12.23 GB, free: 97.6 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06091/54.93, allocations: 7.151 MB / 12.24 GB, free: 97.54 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1402/55.07, allocations: 40.33 MB / 12.28 GB, free: 83.94 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03109/55.1, allocations: 8.938 MB / 12.28 GB, free: 79.16 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03802/55.13, allocations: 5.56 MB / 12.29 GB, free: 75.29 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01017/55.15, allocations: 1.255 MB / 12.29 GB, free: 74.29 MB / 1.026 GB Notification: Performance of SimCode: time 3.317e-06/55.15, allocations: 0 / 12.29 GB, free: 74.29 MB / 1.026 GB Notification: Performance of Templates: time 2.881/58.03, allocations: 450.1 MB / 12.73 GB, free: 10.79 MB / 1.042 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)