Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4") [: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.002025/0.002025, allocations: 184.2 kB / 7.462 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.59/0.59, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.114/1.114, allocations: 221.4 MB / 395 MB, free: 10.23 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.000842/0.000842, allocations: 93.84 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.871e-06, allocations: 0 / 0.5528 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 82.31 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7298/0.8369, allocations: 424 MB / 1.047 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.8371, allocations: 98.42 kB / 1.047 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 30.92/31.75, allocations: 10.54 GB / 11.58 GB, free: 65.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00268/31.76, allocations: 396.7 kB / 11.58 GB, free: 65.13 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.03975/31.8, allocations: 13.13 MB / 11.6 GB, free: 59.76 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/31.8, allocations: 10.69 kB / 11.6 GB, free: 59.76 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/31.81, allocations: 2.279 MB / 11.6 GB, free: 58.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05715/31.87, allocations: 23.89 MB / 11.62 GB, free: 56.15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/31.87, allocations: 225.2 kB / 11.62 GB, free: 56.15 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003266/31.87, allocations: 495 kB / 11.62 GB, free: 56.15 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02574/31.89, allocations: 18.59 MB / 11.64 GB, free: 56.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/31.92, allocations: 13.09 MB / 11.65 GB, free: 55.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/31.92, allocations: 12.47 kB / 11.65 GB, free: 55.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/31.92, allocations: 9.25 kB / 11.65 GB, free: 55.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/31.92, allocations: 191.9 kB / 11.65 GB, free: 55.34 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/32.02, allocations: 78.49 MB / 11.73 GB, free: 19.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009358/32.03, allocations: 8.389 MB / 11.74 GB, free: 19.62 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009739/32.04, allocations: 8.899 MB / 11.75 GB, free: 19.52 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04979/32.09, allocations: 32.71 MB / 11.78 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01002/32.1, allocations: 8.07 MB / 11.79 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=427): time 7.233e-06/32.1, allocations: 0 / 11.79 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of matching and sorting (n=429): time 0.5444/32.65, allocations: 39.15 MB / 11.83 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/32.65, allocations: 96.72 kB / 11.83 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01843/32.67, allocations: 12.28 MB / 11.84 GB, free: 127 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002452/32.67, allocations: 39.83 kB / 11.84 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003405/32.67, allocations: 3.462 MB / 11.84 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004246/32.68, allocations: 1.413 MB / 11.84 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008261/32.68, allocations: 0 / 11.84 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002756/32.68, allocations: 0.5684 MB / 11.84 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007501/32.69, allocations: 7.142 MB / 11.85 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009096/32.69, allocations: 9.767 MB / 11.86 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/32.71, allocations: 8.313 MB / 11.87 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.819e-05/32.71, allocations: 18.38 kB / 11.87 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.04313/32.75, allocations: 23.62 MB / 11.89 GB, free: 120.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004899/32.76, allocations: 34.69 MB / 11.93 GB, free: 84.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/32.76, allocations: 53.22 kB / 11.93 GB, free: 84.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6267/33.38, allocations: 161.3 MB / 12.08 GB, free: 71.38 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008616/33.39, allocations: 1.473 MB / 12.08 GB, free: 71.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03647/33.43, allocations: 24.84 MB / 12.11 GB, free: 67.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/33.44, allocations: 0.8278 MB / 12.11 GB, free: 67.04 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002931/33.45, allocations: 0.7426 MB / 12.11 GB, free: 67.04 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/33.45, allocations: 7.219 kB / 12.11 GB, free: 67.03 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5322/33.98, allocations: 112.6 MB / 12.22 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/33.98, allocations: 52 kB / 12.22 GB, free: 2.078 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07/35.05, allocations: 161.3 MB / 12.38 GB, free: 111.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007051/35.06, allocations: 1.452 MB / 12.38 GB, free: 111.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04331/35.1, allocations: 26.46 MB / 12.41 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01595/35.12, allocations: 0.7971 MB / 12.41 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002537/35.12, allocations: 0.7019 MB / 12.41 GB, free: 109.7 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (661): * Single equations (assignments): 649 * 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: 0 * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.002485/35.12, allocations: 309.4 kB / 12.41 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003516/35.13, allocations: 1.238 MB / 12.41 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03391/35.16, allocations: 18.31 MB / 12.43 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.692e-05/35.16, allocations: 59 kB / 12.43 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/35.16, allocations: 1.125 kB / 12.43 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01645/35.18, allocations: 12.51 MB / 12.44 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1848/35.36, allocations: 65.85 MB / 12.5 GB, free: 92.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/35.36, allocations: 6.5 kB / 12.5 GB, free: 92.61 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004527/35.37, allocations: 0.797 MB / 12.5 GB, free: 92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1922/35.56, allocations: 66.87 MB / 12.57 GB, free: 36.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001322/35.56, allocations: 72.44 kB / 12.57 GB, free: 36.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4657/36.02, allocations: 13.24 MB / 12.58 GB, free: 123.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/36.02, allocations: 3.906 kB / 12.58 GB, free: 123.5 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1739/36.2, allocations: 58.43 MB / 12.64 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008264/36.21, allocations: 2.733 MB / 12.64 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002752/36.21, allocations: 6.625 kB / 12.64 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008403/36.22, allocations: 0.6447 MB / 12.64 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008024/36.22, allocations: 295.6 kB / 12.64 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006196/36.22, allocations: 222.5 kB / 12.64 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.01197/36.23, allocations: 9.195 MB / 12.65 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.03388/36.27, allocations: 6.169 MB / 12.66 GB, free: 117.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (372): * Single equations (assignments): 352 * 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: 0 * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.008587/36.27, allocations: 5.235 MB / 12.66 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.05139/36.33, allocations: 28.24 MB / 12.69 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/36.33, allocations: 2.531 kB / 12.69 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01209/36.34, allocations: 7.418 MB / 12.7 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02942/36.37, allocations: 6.299 MB / 12.7 GB, free: 114 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04421/36.41, allocations: 21 MB / 12.72 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01065/36.42, allocations: 8.448 MB / 12.73 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of SimCode: time 9.11e-07/36.42, allocations: 0 / 12.73 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of Templates: time 1.375/37.8, allocations: 426.6 MB / 13.15 GB, free: 111.6 MB / 0.9793 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)