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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 179.1 kB / 7.453 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5954/0.5954, allocations: 133.5 MB / 141.4 MB, free: 15.63 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.113/1.113, allocations: 221.3 MB / 395 MB, free: 10.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008491/0.0008492, allocations: 99.66 kB / 477.8 MB, free: 10.58 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.971e-06, allocations: 0 / 0.5528 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 82.3 MB / 0.6332 GB, free: 13.87 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.766/0.8855, allocations: 423.3 MB / 1.047 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.8858, allocations: 88.2 kB / 1.047 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 24.46/25.35, allocations: 8.758 GB / 9.805 GB, free: 55.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00197/25.35, allocations: 437.5 kB / 9.806 GB, free: 55.25 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.03611/25.39, allocations: 14.41 MB / 9.82 GB, free: 49.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/25.39, allocations: 13.28 kB / 9.82 GB, free: 49.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009775/25.4, allocations: 2.232 MB / 9.822 GB, free: 48.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05315/25.45, allocations: 25.19 MB / 9.846 GB, free: 46.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/25.45, allocations: 253.8 kB / 9.847 GB, free: 46.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00296/25.45, allocations: 0.5836 MB / 9.847 GB, free: 46.06 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02398/25.48, allocations: 19.93 MB / 9.867 GB, free: 46.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/25.5, allocations: 14.61 MB / 9.881 GB, free: 45.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/25.5, allocations: 16.75 kB / 9.881 GB, free: 45.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/25.5, allocations: 9.5 kB / 9.881 GB, free: 45.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/25.5, allocations: 377.8 kB / 9.881 GB, free: 45.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1126/25.61, allocations: 83.6 MB / 9.963 GB, free: 9.992 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/25.63, allocations: 10.55 MB / 9.973 GB, free: 9.836 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01164/25.64, allocations: 9.583 MB / 9.983 GB, free: 9.754 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05635/25.7, allocations: 36.21 MB / 10.02 GB, free: 0.5625 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01011/25.71, allocations: 9.262 MB / 10.03 GB, free: 84 kB / 0.948 GB Notification: Performance of pre-optimization done (n=616): time 7.835e-06/25.71, allocations: 0 / 10.03 GB, free: 84 kB / 0.948 GB Notification: Performance of matching and sorting (n=618): time 1.031/26.74, allocations: 150.7 MB / 10.17 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/26.74, allocations: 118.9 kB / 10.17 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01902/26.76, allocations: 13.69 MB / 10.19 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002651/26.76, allocations: 40.58 kB / 10.19 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003519/26.76, allocations: 3.687 MB / 10.19 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.008658/26.77, allocations: 2.103 MB / 10.19 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/26.77, allocations: 7.219 kB / 10.19 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003565/26.77, allocations: 0.6496 MB / 10.19 GB, free: 121.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/26.78, allocations: 8.279 MB / 10.2 GB, free: 121.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/26.79, allocations: 11.06 MB / 10.21 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/26.81, allocations: 9.686 MB / 10.22 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.717e-05/26.81, allocations: 17.7 kB / 10.22 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.5782/27.39, allocations: 133.8 MB / 10.35 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004763/27.39, allocations: 35.22 MB / 10.39 GB, free: 70.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/27.39, allocations: 50.91 kB / 10.39 GB, free: 70.45 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059/28.45, allocations: 161.4 MB / 10.55 GB, free: 120 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0136/28.47, allocations: 2.508 MB / 10.55 GB, free: 120 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1237/28.59, allocations: 67.55 MB / 10.61 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01843/28.61, allocations: 0.919 MB / 10.61 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002702/28.61, allocations: 0.8025 MB / 10.62 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/28.61, allocations: 4.5 kB / 10.62 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5631/29.17, allocations: 131.1 MB / 10.74 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/29.17, allocations: 54.56 kB / 10.74 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055/30.23, allocations: 161.2 MB / 10.9 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/30.24, allocations: 2.471 MB / 10.9 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.125/30.36, allocations: 68.52 MB / 10.97 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01714/30.38, allocations: 0.8982 MB / 10.97 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002139/30.38, allocations: 0.7548 MB / 10.97 GB, free: 117.1 MB / 0.9792 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 (907): * Single equations (assignments): 893 * 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.002703/30.39, allocations: 311.1 kB / 10.97 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003625/30.39, allocations: 1.402 MB / 10.97 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1812/30.57, allocations: 58.08 MB / 11.03 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001361/30.57, allocations: 73.55 kB / 11.03 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.142e-05/30.57, allocations: 28.16 kB / 11.03 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1672/30.74, allocations: 51.99 MB / 11.08 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2003/30.94, allocations: 71.83 MB / 11.15 GB, free: 87.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.218e-05/30.94, allocations: 0.6562 kB / 11.15 GB, free: 87.56 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007132/30.95, allocations: 1.16 MB / 11.15 GB, free: 86.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6087/31.56, allocations: 67.08 MB / 11.22 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001764/31.56, allocations: 166.7 kB / 11.22 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04709/31.6, allocations: 26.46 MB / 11.24 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/31.6, allocations: 4.188 kB / 11.24 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1787/31.78, allocations: 62.79 MB / 11.31 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009362/31.79, allocations: 3.262 MB / 11.31 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003649/31.8, allocations: 81.06 kB / 11.31 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01127/31.81, allocations: 0.7754 MB / 11.31 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/31.81, allocations: 379.8 kB / 11.31 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007794/31.81, allocations: 270.5 kB / 11.31 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.01488/31.82, allocations: 10.31 MB / 11.32 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.03745/31.86, allocations: 7.689 MB / 11.33 GB, free: 105.6 MB / 0.9792 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 (562): * Single equations (assignments): 540 * 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.007452/31.87, allocations: 5.228 MB / 11.33 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.05963/31.93, allocations: 33.29 MB / 11.36 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/31.93, allocations: 7.281 kB / 11.36 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01621/31.95, allocations: 9.066 MB / 11.37 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03494/31.98, allocations: 6.851 MB / 11.38 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06727/32.05, allocations: 27.55 MB / 11.41 GB, free: 96.38 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01318/32.06, allocations: 9.64 MB / 11.42 GB, free: 95.16 MB / 0.9792 GB Notification: Performance of SimCode: time 9.02e-07/32.06, allocations: 0 / 11.42 GB, free: 95.16 MB / 0.9792 GB Notification: Performance of Templates: time 1.382/33.44, allocations: 459 MB / 11.86 GB, free: 92.89 MB / 0.9793 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)