Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 169.2 kB / 7.64 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.8/0.8, allocations: 130.7 MB / 138.7 MB, free: 3.453 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.434/1.434, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.0008486/0.0008485, allocations: 96.89 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.42e-05, allocations: 0 / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4784, allocations: 81.56 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9095/1.388, allocations: 423.1 MB / 1.041 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.388, allocations: 89.7 kB / 1.041 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 39.82/41.2, allocations: 8.715 GB / 9.757 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.864e-06/41.2, allocations: 0 / 9.757 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.003791/41.21, allocations: 434.7 kB / 9.757 GB, free: 63.54 MB / 0.9323 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.05466/41.26, allocations: 13.5 MB / 9.77 GB, free: 57.46 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/41.26, allocations: 6.062 kB / 9.77 GB, free: 57.46 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/41.28, allocations: 2.189 MB / 9.772 GB, free: 56.48 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06804/41.35, allocations: 21.55 MB / 9.793 GB, free: 48.91 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006761/41.35, allocations: 252 kB / 9.794 GB, free: 48.66 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005728/41.35, allocations: 0.5893 MB / 9.794 GB, free: 48.08 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03434/41.39, allocations: 19.64 MB / 9.813 GB, free: 30.35 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04175/41.43, allocations: 14.44 MB / 9.827 GB, free: 18.85 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006532/41.43, allocations: 11.84 kB / 9.827 GB, free: 18.84 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004521/41.43, allocations: 8 kB / 9.827 GB, free: 18.83 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004126/41.44, allocations: 375.2 kB / 9.828 GB, free: 18.46 MB / 0.9323 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 1.107/42.54, allocations: 78.2 MB / 9.904 GB, free: 46.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02247/42.56, allocations: 12.66 MB / 9.917 GB, free: 45.76 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01611/42.58, allocations: 9.443 MB / 9.926 GB, free: 45.69 MB / 0.9323 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.08547/42.67, allocations: 33.7 MB / 9.959 GB, free: 37.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01841/42.68, allocations: 9.093 MB / 9.968 GB, free: 37.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04809/42.73, allocations: 14.92 MB / 9.982 GB, free: 36.88 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=614): time 0.0001056/42.73, allocations: 0 / 9.982 GB, free: 36.88 MB / 0.9323 GB Notification: Performance of matching and sorting (n=616): time 0.6648/43.4, allocations: 139.3 MB / 10.12 GB, free: 31.85 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/43.4, allocations: 119.6 kB / 10.12 GB, free: 31.78 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03779/43.44, allocations: 13.38 MB / 10.13 GB, free: 28.67 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.004844/43.44, allocations: 39.14 kB / 10.13 GB, free: 28.62 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01123/43.45, allocations: 7.289 MB / 10.14 GB, free: 26.49 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.006272/43.46, allocations: 2.096 MB / 10.14 GB, free: 25.11 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001664/43.46, allocations: 4 kB / 10.14 GB, free: 25.11 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0006346/43.46, allocations: 0.6402 MB / 10.14 GB, free: 24.69 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01031/43.47, allocations: 8.019 MB / 10.15 GB, free: 20.95 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/43.48, allocations: 10.76 MB / 10.16 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/43.5, allocations: 9.354 MB / 10.17 GB, free: 2.93 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.911e-05/43.5, allocations: 12 kB / 10.17 GB, free: 2.918 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 1.715/45.22, allocations: 123.7 MB / 10.29 GB, free: 95.06 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.009829/45.23, allocations: 35.29 MB / 10.32 GB, free: 57.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000329/45.23, allocations: 52.11 kB / 10.32 GB, free: 57.97 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6271/45.85, allocations: 143.7 MB / 10.46 GB, free: 43.56 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0144/45.87, allocations: 2.649 MB / 10.47 GB, free: 42.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1363/46, allocations: 67.47 MB / 10.53 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02534/46.03, allocations: 1.043 MB / 10.53 GB, free: 9.129 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005671/46.04, allocations: 0.7981 MB / 10.53 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/46.04, allocations: 6.297 kB / 10.53 GB, free: 8.395 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.643/47.68, allocations: 120.7 MB / 10.65 GB, free: 131.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003328/47.68, allocations: 52.12 kB / 10.65 GB, free: 131.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6306/48.31, allocations: 143.4 MB / 10.79 GB, free: 126.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01212/48.32, allocations: 2.621 MB / 10.8 GB, free: 126.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1378/48.46, allocations: 69.55 MB / 10.86 GB, free: 87.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02302/48.48, allocations: 1.013 MB / 10.86 GB, free: 86.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00484/48.49, allocations: 0.7496 MB / 10.86 GB, free: 85.82 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (905): * Single equations (assignments): 891 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 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: 1 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.006718/48.49, allocations: 325.7 kB / 10.87 GB, free: 85.66 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008382/48.5, allocations: 1.399 MB / 10.87 GB, free: 85.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1865/48.69, allocations: 43.83 MB / 10.91 GB, free: 48.85 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001531/48.69, allocations: 76.67 kB / 10.91 GB, free: 48.78 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-05/48.69, allocations: 28 kB / 10.91 GB, free: 48.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182/49.87, allocations: 38.7 MB / 10.95 GB, free: 111.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2185/50.09, allocations: 58.83 MB / 11 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.889e-05/50.09, allocations: 4.25 kB / 11 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007826/50.1, allocations: 1.182 MB / 11.01 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1876/50.29, allocations: 41.01 MB / 11.05 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002901/50.29, allocations: 156.2 kB / 11.05 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05585/50.34, allocations: 27.56 MB / 11.07 GB, free: 101.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/50.34, allocations: 6.469 kB / 11.07 GB, free: 101.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1905/50.54, allocations: 49.25 MB / 11.12 GB, free: 100.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01386/50.55, allocations: 3.281 MB / 11.12 GB, free: 99.99 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007554/50.56, allocations: 71.94 kB / 11.12 GB, free: 99.99 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0178/50.57, allocations: 0.8556 MB / 11.13 GB, free: 99.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003613/50.58, allocations: 448.3 kB / 11.13 GB, free: 99.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002338/50.58, allocations: 274.4 kB / 11.13 GB, free: 99.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02476/50.61, allocations: 10.06 MB / 11.14 GB, free: 99.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.81e-07/50.61, allocations: 0 / 11.14 GB, free: 99.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.07659/50.68, allocations: 7.901 MB / 11.14 GB, free: 99.52 MB / 1.01 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 (559): * Single equations (assignments): 537 * 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: 2 * 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: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/50.69, allocations: 5.219 MB / 11.15 GB, free: 97.61 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.07372/50.77, allocations: 33.41 MB / 11.18 GB, free: 96.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/50.77, allocations: 0 / 11.18 GB, free: 96.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01924/50.79, allocations: 8.653 MB / 11.19 GB, free: 96.08 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0437/50.83, allocations: 7.117 MB / 11.2 GB, free: 94.47 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06902/50.9, allocations: 26.48 MB / 11.22 GB, free: 75.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01545/50.91, allocations: 8.552 MB / 11.23 GB, free: 70.18 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04019/50.96, allocations: 8.028 MB / 11.24 GB, free: 65.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004174/50.96, allocations: 0.7984 MB / 11.24 GB, free: 64.97 MB / 1.01 GB Notification: Performance of SimCode: time 1.583e-06/50.96, allocations: 0 / 11.24 GB, free: 64.97 MB / 1.01 GB Notification: Performance of Templates: time 2.459/53.42, allocations: 411.6 MB / 11.64 GB, free: 5.695 MB / 1.011 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)