Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") [: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.001882/0.001882, allocations: 184.6 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5916/0.5916, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.107/1.107, allocations: 221.3 MB / 395 MB, free: 10.25 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.0008482/0.0008482, allocations: 114.9 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.811e-06, allocations: 2.781 kB / 0.5528 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7079/0.8143, allocations: 423.6 MB / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.8146, allocations: 95.52 kB / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 27.12/27.93, allocations: 9.563 GB / 10.61 GB, free: 64.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002791/27.93, allocations: 429.3 kB / 10.61 GB, free: 64.01 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.04449/27.98, allocations: 14.4 MB / 10.62 GB, free: 57.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/27.98, allocations: 13.44 kB / 10.62 GB, free: 57.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/27.99, allocations: 2.231 MB / 10.63 GB, free: 56.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06436/28.05, allocations: 25.2 MB / 10.65 GB, free: 53.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005694/28.06, allocations: 251.8 kB / 10.65 GB, free: 53.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004394/28.06, allocations: 0.5835 MB / 10.65 GB, free: 53.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03185/28.09, allocations: 19.86 MB / 10.67 GB, free: 53.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03119/28.12, allocations: 14.58 MB / 10.69 GB, free: 45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000384/28.12, allocations: 11.94 kB / 10.69 GB, free: 44.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002878/28.13, allocations: 8 kB / 10.69 GB, free: 44.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000256/28.13, allocations: 378.5 kB / 10.69 GB, free: 44.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6016/28.73, allocations: 83.94 MB / 10.77 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/28.74, allocations: 10.39 MB / 10.78 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01081/28.75, allocations: 9.879 MB / 10.79 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05786/28.81, allocations: 35.98 MB / 10.82 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01429/28.82, allocations: 9.181 MB / 10.83 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=595): time 9.458e-06/28.82, allocations: 0 / 10.83 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=597): time 0.6292/29.45, allocations: 149.8 MB / 10.98 GB, free: 99.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/29.45, allocations: 112.7 kB / 10.98 GB, free: 99.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02529/29.48, allocations: 13.71 MB / 10.99 GB, free: 98.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002808/29.48, allocations: 37.61 kB / 10.99 GB, free: 98.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004556/29.49, allocations: 3.714 MB / 10.99 GB, free: 97.36 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.009393/29.49, allocations: 2.043 MB / 11 GB, free: 96.29 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/29.5, allocations: 0 / 11 GB, free: 96.29 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004352/29.5, allocations: 0.6404 MB / 11 GB, free: 95.97 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009972/29.51, allocations: 8.227 MB / 11.01 GB, free: 95.95 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/29.52, allocations: 10.99 MB / 11.02 GB, free: 92.73 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/29.53, allocations: 9.62 MB / 11.03 GB, free: 92.54 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.528e-05/29.53, allocations: 14.75 kB / 11.03 GB, free: 92.54 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.5842/30.12, allocations: 133.4 MB / 11.16 GB, free: 20.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.457/30.57, allocations: 36.74 MB / 11.19 GB, free: 96.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/30.57, allocations: 50.66 kB / 11.19 GB, free: 96.14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.629/31.2, allocations: 160.9 MB / 11.35 GB, free: 83.74 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/31.22, allocations: 2.501 MB / 11.35 GB, free: 83.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1352/31.35, allocations: 65.66 MB / 11.42 GB, free: 77.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01916/31.37, allocations: 0.9292 MB / 11.42 GB, free: 77.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003742/31.37, allocations: 0.7935 MB / 11.42 GB, free: 77.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/31.37, allocations: 7.906 kB / 11.42 GB, free: 77.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5811/31.96, allocations: 130.9 MB / 11.55 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/31.96, allocations: 53.31 kB / 11.55 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084/33.04, allocations: 161 MB / 11.7 GB, free: 93.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/33.05, allocations: 2.487 MB / 11.7 GB, free: 93.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1371/33.19, allocations: 67.31 MB / 11.77 GB, free: 90.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01826/33.21, allocations: 0.8953 MB / 11.77 GB, free: 89.96 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/33.21, allocations: 0.754 MB / 11.77 GB, free: 89.96 MB / 0.9636 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (915): * Single equations (assignments): 903 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 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: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.003902/33.21, allocations: 320.2 kB / 11.77 GB, free: 89.86 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00421/33.22, allocations: 1.399 MB / 11.77 GB, free: 89.86 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1817/33.4, allocations: 57.71 MB / 11.83 GB, free: 82.33 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001267/33.4, allocations: 67.5 kB / 11.83 GB, free: 82.33 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.491e-05/33.4, allocations: 28.88 kB / 11.83 GB, free: 82.33 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1668/33.57, allocations: 51.66 MB / 11.88 GB, free: 47.25 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6318/34.2, allocations: 71.18 MB / 11.95 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.128e-05/34.2, allocations: 0 / 11.95 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007055/34.21, allocations: 1.142 MB / 11.95 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.192/34.4, allocations: 66.51 MB / 12.02 GB, free: 92.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002018/34.4, allocations: 159.7 kB / 12.02 GB, free: 92.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04978/34.45, allocations: 24.67 MB / 12.04 GB, free: 87.54 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/34.45, allocations: 2.875 kB / 12.04 GB, free: 87.54 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1889/34.64, allocations: 62.34 MB / 12.1 GB, free: 79.92 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01067/34.65, allocations: 3.235 MB / 12.1 GB, free: 79.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005958/34.66, allocations: 85.11 kB / 12.1 GB, free: 79.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01358/34.67, allocations: 0.7267 MB / 12.11 GB, free: 79.61 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001705/34.67, allocations: 364.5 kB / 12.11 GB, free: 79.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001492/34.67, allocations: 261.3 kB / 12.11 GB, free: 79.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.01825/34.69, allocations: 10.3 MB / 12.12 GB, free: 79.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.04217/34.73, allocations: 7.675 MB / 12.12 GB, free: 79.16 MB / 0.9636 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 (554): * Single equations (assignments): 534 * 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: 2 * 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: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.008277/34.74, allocations: 5.233 MB / 12.13 GB, free: 76.92 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0582/34.8, allocations: 32.47 MB / 12.16 GB, free: 75.96 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/34.8, allocations: 1.938 kB / 12.16 GB, free: 75.96 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01578/34.82, allocations: 8.691 MB / 12.17 GB, free: 75.69 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03284/34.85, allocations: 6.708 MB / 12.18 GB, free: 75.34 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06338/34.91, allocations: 27.44 MB / 12.2 GB, free: 63.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01181/34.92, allocations: 9.621 MB / 12.21 GB, free: 57.73 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/34.92, allocations: 0 / 12.21 GB, free: 57.73 MB / 0.9636 GB Notification: Performance of Templates: time 1.862/36.79, allocations: 455.2 MB / 12.66 GB, free: 88.84 MB / 0.9637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)