Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic") translateModel(IDEAS.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic") [: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.002068/0.002068, allocations: 177.4 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6059/0.6059, allocations: 133.5 MB / 141.4 MB, free: 15.62 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.119/1.119, allocations: 221.3 MB / 395 MB, free: 10.15 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.0008275/0.0008275, allocations: 101.4 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.111e-06, allocations: 2.938 kB / 0.5528 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7302/0.8345, allocations: 423.1 MB / 1.046 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.8348, allocations: 90.7 kB / 1.047 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 17.58/18.41, allocations: 6.473 GB / 7.52 GB, free: 40.77 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001523/18.41, allocations: 447.5 kB / 7.52 GB, free: 40.34 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.03141/18.45, allocations: 14.41 MB / 7.534 GB, free: 25.81 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/18.45, allocations: 8.688 kB / 7.534 GB, free: 25.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007973/18.45, allocations: 2.246 MB / 7.536 GB, free: 23.54 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04896/18.5, allocations: 25.26 MB / 7.561 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/18.5, allocations: 251.9 kB / 7.561 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002373/18.51, allocations: 0.5935 MB / 7.562 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4403/18.95, allocations: 20.14 MB / 7.582 GB, free: 112.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/18.97, allocations: 14.76 MB / 7.596 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/18.97, allocations: 11.06 kB / 7.596 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/18.97, allocations: 10.94 kB / 7.596 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/18.97, allocations: 378.8 kB / 7.596 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09896/19.07, allocations: 82.77 MB / 7.677 GB, free: 80.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/19.08, allocations: 11.09 MB / 7.688 GB, free: 80.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00996/19.09, allocations: 10.11 MB / 7.698 GB, free: 80.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05174/19.14, allocations: 36.8 MB / 7.734 GB, free: 72.01 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00996/19.15, allocations: 9.486 MB / 7.743 GB, free: 71.85 MB / 0.948 GB Notification: Performance of pre-optimization done (n=640): time 8.937e-06/19.15, allocations: 4.406 kB / 7.743 GB, free: 71.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=642): time 0.6084/19.76, allocations: 151.9 MB / 7.891 GB, free: 60.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/19.76, allocations: 119.1 kB / 7.892 GB, free: 60.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0241/19.78, allocations: 13.65 MB / 7.905 GB, free: 59.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00266/19.79, allocations: 40.2 kB / 7.905 GB, free: 59.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003618/19.79, allocations: 3.656 MB / 7.908 GB, free: 58.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008642/19.8, allocations: 2.187 MB / 7.911 GB, free: 57.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008534/19.8, allocations: 0 / 7.911 GB, free: 57.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003275/19.8, allocations: 0.6414 MB / 7.911 GB, free: 56.75 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00903/19.81, allocations: 8.453 MB / 7.92 GB, free: 52.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009953/19.82, allocations: 11.26 MB / 7.931 GB, free: 41.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/19.83, allocations: 9.854 MB / 7.94 GB, free: 33.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/19.83, allocations: 16 kB / 7.94 GB, free: 33.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.9652/20.8, allocations: 134.9 MB / 8.072 GB, free: 99.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004141/20.8, allocations: 31.84 MB / 8.103 GB, free: 66.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/20.8, allocations: 46.06 kB / 8.103 GB, free: 66.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6316/21.43, allocations: 162.4 MB / 8.262 GB, free: 50.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/21.44, allocations: 2.417 MB / 8.264 GB, free: 50.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1219/21.57, allocations: 69.04 MB / 8.331 GB, free: 32.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01653/21.58, allocations: 0.9092 MB / 8.332 GB, free: 32.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002444/21.59, allocations: 0.7972 MB / 8.333 GB, free: 31.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/21.59, allocations: 10.06 kB / 8.333 GB, free: 31.39 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9727/22.56, allocations: 131.7 MB / 8.462 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/22.56, allocations: 44.62 kB / 8.462 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6281/23.19, allocations: 162.2 MB / 8.62 GB, free: 93.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/23.2, allocations: 2.374 MB / 8.622 GB, free: 93.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1318/23.33, allocations: 72.48 MB / 8.693 GB, free: 60.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/23.35, allocations: 0.8989 MB / 8.694 GB, free: 59.69 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/23.35, allocations: 0.7434 MB / 8.695 GB, free: 59.01 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (859): * Single equations (assignments): 845 * 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 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.003605/23.35, allocations: 312.4 kB / 8.695 GB, free: 58.85 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00409/23.36, allocations: 1.408 MB / 8.697 GB, free: 58.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5774/23.93, allocations: 58.96 MB / 8.754 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/23.93, allocations: 78.48 kB / 8.754 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-05/23.93, allocations: 31.97 kB / 8.754 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.166/24.1, allocations: 52.76 MB / 8.806 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1967/24.3, allocations: 73.07 MB / 8.877 GB, free: 90.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.84e-05/24.3, allocations: 4.125 kB / 8.877 GB, free: 90.78 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006362/24.3, allocations: 1.103 MB / 8.878 GB, free: 90.78 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1928/24.49, allocations: 67.91 MB / 8.944 GB, free: 77.43 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001528/24.5, allocations: 164.3 kB / 8.945 GB, free: 77.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04969/24.55, allocations: 27.76 MB / 8.972 GB, free: 70.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/24.55, allocations: 3.844 kB / 8.972 GB, free: 70.8 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1807/24.73, allocations: 63.84 MB / 9.034 GB, free: 45.33 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008563/24.74, allocations: 3.316 MB / 9.037 GB, free: 43.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004177/24.74, allocations: 86.34 kB / 9.037 GB, free: 43.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01134/24.75, allocations: 0.7787 MB / 9.038 GB, free: 42.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/24.75, allocations: 397.9 kB / 9.039 GB, free: 42.62 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007797/24.75, allocations: 274.5 kB / 9.039 GB, free: 42.44 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.01263/24.77, allocations: 10.28 MB / 9.049 GB, free: 36.83 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02516/24.79, allocations: 7.691 MB / 9.056 GB, free: 29.69 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 (538): * Single equations (assignments): 516 * 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 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.3996/25.19, allocations: 5.231 MB / 9.061 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.05386/25.24, allocations: 33.88 MB / 9.095 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/25.24, allocations: 5.047 kB / 9.095 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01372/25.26, allocations: 9.325 MB / 9.104 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02783/25.29, allocations: 6.859 MB / 9.11 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04816/25.33, allocations: 27.61 MB / 9.137 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01029/25.34, allocations: 9.635 MB / 9.147 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of SimCode: time 7.01e-07/25.34, allocations: 0 / 9.147 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of Templates: time 1.271/26.62, allocations: 466.6 MB / 9.602 GB, free: 104.2 MB / 0.9637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)