Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001076/0.001076, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.737/0.737, allocations: 133.6 MB / 141.6 MB, free: 2.852 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.53/1.53, allocations: 221.5 MB / 395.5 MB, free: 10.85 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.0008985/0.0008985, allocations: 104.5 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.791e-05, allocations: 0 / 0.5535 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.552, allocations: 82.3 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9242/1.476, allocations: 423.4 MB / 1.047 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.477, allocations: 90.02 kB / 1.047 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 39.84/41.31, allocations: 8.715 GB / 9.762 GB, free: 74.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.923e-06/41.31, allocations: 0 / 9.762 GB, free: 74.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.004294/41.32, allocations: 432.1 kB / 9.763 GB, free: 73.93 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.05778/41.38, allocations: 13.5 MB / 9.776 GB, free: 67.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/41.38, allocations: 10.28 kB / 9.776 GB, free: 67.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/41.39, allocations: 2.193 MB / 9.778 GB, free: 67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07684/41.47, allocations: 21.55 MB / 9.799 GB, free: 64.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008003/41.47, allocations: 255.8 kB / 9.799 GB, free: 64.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006235/41.47, allocations: 0.5824 MB / 9.8 GB, free: 64.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03933/41.51, allocations: 19.63 MB / 9.819 GB, free: 64.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04757/41.56, allocations: 14.43 MB / 9.833 GB, free: 62.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009699/41.56, allocations: 25.28 kB / 9.833 GB, free: 62.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006244/41.57, allocations: 7.812 kB / 9.833 GB, free: 62.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005446/41.57, allocations: 370.2 kB / 9.834 GB, free: 62.7 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 1.188/42.76, allocations: 78.21 MB / 9.91 GB, free: 82.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/42.78, allocations: 12.65 MB / 9.922 GB, free: 82.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01521/42.79, allocations: 9.427 MB / 9.932 GB, free: 82.52 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.07755/42.87, allocations: 33.72 MB / 9.965 GB, free: 74.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0165/42.89, allocations: 9.096 MB / 9.973 GB, free: 74.01 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0506/42.94, allocations: 14.92 MB / 9.988 GB, free: 74.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=614): time 0.0001056/42.94, allocations: 0 / 9.988 GB, free: 74.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=616): time 0.6633/43.6, allocations: 139.3 MB / 10.12 GB, free: 69.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/43.6, allocations: 116.9 kB / 10.12 GB, free: 69.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04008/43.64, allocations: 13.38 MB / 10.14 GB, free: 69.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004625/43.65, allocations: 45.98 kB / 10.14 GB, free: 69.01 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01319/43.66, allocations: 7.285 MB / 10.14 GB, free: 67.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006712/43.67, allocations: 2.103 MB / 10.15 GB, free: 66.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004212/43.67, allocations: 4.141 kB / 10.15 GB, free: 66.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001079/43.67, allocations: 0.6471 MB / 10.15 GB, free: 66.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01421/43.69, allocations: 8.009 MB / 10.15 GB, free: 66.35 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01807/43.7, allocations: 10.76 MB / 10.17 GB, free: 63.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/43.73, allocations: 9.356 MB / 10.17 GB, free: 62.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/43.73, allocations: 12 kB / 10.17 GB, free: 62.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 1.661/45.39, allocations: 123.3 MB / 10.29 GB, free: 81.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.008768/45.4, allocations: 35.28 MB / 10.33 GB, free: 60.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002515/45.4, allocations: 50.97 kB / 10.33 GB, free: 60.21 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.651/46.05, allocations: 143.7 MB / 10.47 GB, free: 59.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01438/46.06, allocations: 2.657 MB / 10.47 GB, free: 59.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1618/46.22, allocations: 67.46 MB / 10.54 GB, free: 52.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02556/46.25, allocations: 1.038 MB / 10.54 GB, free: 52.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007286/46.26, allocations: 0.7963 MB / 10.54 GB, free: 51.96 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/46.26, allocations: 3.031 kB / 10.54 GB, free: 51.96 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.682/47.94, allocations: 120.7 MB / 10.66 GB, free: 116.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003047/47.94, allocations: 51.53 kB / 10.66 GB, free: 116.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6506/48.59, allocations: 143.4 MB / 10.8 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0129/48.6, allocations: 2.626 MB / 10.8 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1658/48.77, allocations: 69.55 MB / 10.87 GB, free: 112.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0292/48.8, allocations: 1.014 MB / 10.87 GB, free: 112.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005711/48.8, allocations: 0.7525 MB / 10.87 GB, free: 112.3 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.008292/48.81, allocations: 326.5 kB / 10.87 GB, free: 112.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009174/48.82, allocations: 1.4 MB / 10.87 GB, free: 112.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1937/49.01, allocations: 43.84 MB / 10.91 GB, free: 89.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001909/49.01, allocations: 70.44 kB / 10.91 GB, free: 89.74 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001038/49.01, allocations: 31.95 kB / 10.91 GB, free: 89.71 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1648/49.18, allocations: 38.7 MB / 10.95 GB, free: 57.08 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.278/50.46, allocations: 58.82 MB / 11.01 GB, free: 113.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.067e-05/50.46, allocations: 3.438 kB / 11.01 GB, free: 113.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007533/50.47, allocations: 1.183 MB / 11.01 GB, free: 113.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1882/50.65, allocations: 41.01 MB / 11.05 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002856/50.66, allocations: 156 kB / 11.05 GB, free: 113.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05828/50.71, allocations: 27.56 MB / 11.08 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/50.71, allocations: 3.688 kB / 11.08 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1888/50.9, allocations: 49.25 MB / 11.13 GB, free: 106.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01466/50.92, allocations: 3.281 MB / 11.13 GB, free: 106.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008148/50.93, allocations: 74.7 kB / 11.13 GB, free: 106.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01784/50.94, allocations: 0.8573 MB / 11.13 GB, free: 106.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003568/50.95, allocations: 446.7 kB / 11.13 GB, free: 106.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002442/50.95, allocations: 267.8 kB / 11.13 GB, free: 106.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0282/50.98, allocations: 10.07 MB / 11.14 GB, free: 106.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.31e-07/50.98, allocations: 0 / 11.14 GB, free: 106.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.05889/51.04, allocations: 7.899 MB / 11.15 GB, free: 106.1 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.01247/51.05, allocations: 5.23 MB / 11.15 GB, free: 104.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0778/51.13, allocations: 33.42 MB / 11.19 GB, free: 103 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/51.13, allocations: 0 / 11.19 GB, free: 103 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01958/51.15, allocations: 8.647 MB / 11.19 GB, free: 102.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04601/51.19, allocations: 7.115 MB / 11.2 GB, free: 102.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07366/51.27, allocations: 26.47 MB / 11.23 GB, free: 97.38 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01912/51.29, allocations: 8.547 MB / 11.24 GB, free: 95.71 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03828/51.32, allocations: 8.034 MB / 11.24 GB, free: 91.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005139/51.33, allocations: 0.8 MB / 11.24 GB, free: 90.51 MB / 1.01 GB Notification: Performance of SimCode: time 1.082e-06/51.33, allocations: 0 / 11.24 GB, free: 90.51 MB / 1.01 GB Notification: Performance of Templates: time 2.493/53.82, allocations: 411.6 MB / 11.65 GB, free: 54.66 MB / 1.011 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)