Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 169.5 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7657/0.7657, allocations: 130.7 MB / 138.7 MB, free: 3.598 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.438/1.438, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.001063/0.001063, allocations: 92.2 kB / 473.9 MB, free: 4.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.742e-05, allocations: 4 kB / 0.5485 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4845, allocations: 81.57 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9031/1.388, allocations: 423.3 MB / 1.041 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/1.388, allocations: 91.27 kB / 1.042 GB, free: 2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 39.28/40.67, allocations: 8.716 GB / 9.757 GB, free: 63.55 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.774e-06/40.67, allocations: 0 / 9.757 GB, free: 63.55 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.003873/40.68, allocations: 436.5 kB / 9.758 GB, free: 63.43 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.05633/40.73, allocations: 13.5 MB / 9.771 GB, free: 57.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/40.73, allocations: 11.34 kB / 9.771 GB, free: 57.34 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/40.75, allocations: 2.188 MB / 9.773 GB, free: 56.36 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06794/40.82, allocations: 21.55 MB / 9.794 GB, free: 48.76 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009123/40.82, allocations: 256 kB / 9.794 GB, free: 48.51 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006446/40.82, allocations: 0.5853 MB / 9.795 GB, free: 47.93 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03449/40.86, allocations: 19.64 MB / 9.814 GB, free: 30.19 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04228/40.9, allocations: 14.43 MB / 9.828 GB, free: 18.63 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006395/40.9, allocations: 19.02 kB / 9.828 GB, free: 18.62 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004339/40.91, allocations: 12 kB / 9.828 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003865/40.91, allocations: 367.2 kB / 9.829 GB, free: 18.25 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.17/42.08, allocations: 78.21 MB / 9.905 GB, free: 45.75 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02288/42.1, allocations: 12.67 MB / 9.917 GB, free: 45.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01506/42.11, allocations: 9.442 MB / 9.927 GB, free: 45.23 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.08587/42.2, allocations: 33.71 MB / 9.96 GB, free: 36.72 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01971/42.22, allocations: 9.095 MB / 9.968 GB, free: 36.56 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0484/42.27, allocations: 14.92 MB / 9.983 GB, free: 36.42 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=614): time 6.865e-05/42.27, allocations: 0 / 9.983 GB, free: 36.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=616): time 0.6557/42.92, allocations: 139.3 MB / 10.12 GB, free: 31.35 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/42.92, allocations: 118.3 kB / 10.12 GB, free: 31.28 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03849/42.96, allocations: 13.38 MB / 10.13 GB, free: 28.37 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.004146/42.97, allocations: 38.45 kB / 10.13 GB, free: 28.32 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01374/42.98, allocations: 7.295 MB / 10.14 GB, free: 26.19 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.006534/42.99, allocations: 2.097 MB / 10.14 GB, free: 24.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004025/42.99, allocations: 0 / 10.14 GB, free: 24.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00105/42.99, allocations: 0.6521 MB / 10.14 GB, free: 24.38 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01451/43.01, allocations: 8.012 MB / 10.15 GB, free: 20.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01744/43.03, allocations: 10.76 MB / 10.16 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02031/43.05, allocations: 9.357 MB / 10.17 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/43.05, allocations: 17.22 kB / 10.17 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 1.894/44.94, allocations: 123.8 MB / 10.29 GB, free: 94.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.009083/44.95, allocations: 35.28 MB / 10.32 GB, free: 57.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003148/44.95, allocations: 50.38 kB / 10.32 GB, free: 57.85 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6345/45.58, allocations: 143.4 MB / 10.47 GB, free: 43.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01444/45.6, allocations: 2.655 MB / 10.47 GB, free: 42.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1666/45.76, allocations: 67.28 MB / 10.53 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02605/45.79, allocations: 1.043 MB / 10.53 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006411/45.8, allocations: 0.7992 MB / 10.54 GB, free: 8.699 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/45.8, allocations: 4.562 kB / 10.54 GB, free: 8.695 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.701/47.5, allocations: 120.7 MB / 10.65 GB, free: 130.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004069/47.5, allocations: 51.78 kB / 10.65 GB, free: 130.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6332/48.13, allocations: 143.4 MB / 10.79 GB, free: 126.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/48.15, allocations: 2.631 MB / 10.8 GB, free: 126 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.165/48.31, allocations: 69.41 MB / 10.86 GB, free: 87.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02528/48.34, allocations: 1.017 MB / 10.86 GB, free: 86.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005148/48.34, allocations: 0.7462 MB / 10.87 GB, free: 86.31 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 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.007883/48.35, allocations: 327.9 kB / 10.87 GB, free: 86.14 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008481/48.36, allocations: 1.401 MB / 10.87 GB, free: 85.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1938/48.55, allocations: 43.83 MB / 10.91 GB, free: 49.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002128/48.55, allocations: 74.7 kB / 10.91 GB, free: 49.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001605/48.55, allocations: 32 kB / 10.91 GB, free: 49.23 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181/49.73, allocations: 38.71 MB / 10.95 GB, free: 111 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2664/50, allocations: 58.83 MB / 11.01 GB, free: 107.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-05/50, allocations: 0.6562 kB / 11.01 GB, free: 107.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007545/50.01, allocations: 1.189 MB / 11.01 GB, free: 107.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1833/50.19, allocations: 40.74 MB / 11.05 GB, free: 107.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002777/50.19, allocations: 159.5 kB / 11.05 GB, free: 107.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.062/50.26, allocations: 27.51 MB / 11.07 GB, free: 101.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/50.26, allocations: 7.953 kB / 11.07 GB, free: 101.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1937/50.45, allocations: 49.26 MB / 11.12 GB, free: 100 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01453/50.46, allocations: 3.281 MB / 11.12 GB, free: 99.44 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008203/50.47, allocations: 72 kB / 11.12 GB, free: 99.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01834/50.49, allocations: 0.8555 MB / 11.13 GB, free: 99.41 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003446/50.49, allocations: 445.4 kB / 11.13 GB, free: 99.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002284/50.5, allocations: 269.9 kB / 11.13 GB, free: 99.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02451/50.52, allocations: 10.06 MB / 11.14 GB, free: 98.96 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.61e-07/50.52, allocations: 0 / 11.14 GB, free: 98.96 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.06423/50.58, allocations: 7.903 MB / 11.14 GB, free: 98.96 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 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01303/50.6, allocations: 5.216 MB / 11.15 GB, free: 97.07 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0764/50.67, allocations: 32.91 MB / 11.18 GB, free: 95.85 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/50.67, allocations: 6.406 kB / 11.18 GB, free: 95.85 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.02006/50.69, allocations: 8.484 MB / 11.19 GB, free: 95.57 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04563/50.74, allocations: 7.118 MB / 11.2 GB, free: 95.46 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07684/50.82, allocations: 26.48 MB / 11.22 GB, free: 76.21 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01879/50.84, allocations: 8.546 MB / 11.23 GB, free: 71.18 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04232/50.88, allocations: 8.035 MB / 11.24 GB, free: 66.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005475/50.88, allocations: 0.7979 MB / 11.24 GB, free: 65.96 MB / 1.01 GB Notification: Performance of SimCode: time 2.876e-06/50.88, allocations: 0 / 11.24 GB, free: 65.96 MB / 1.01 GB Notification: Performance of Templates: time 2.495/53.38, allocations: 412.5 MB / 11.64 GB, free: 6.445 MB / 1.011 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)