Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5") [: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.001751/0.001751, allocations: 171.8 kB / 7.456 MB, free: 2.156 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5925/0.5925, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.105/1.105, allocations: 221.3 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.0008267/0.0008267, allocations: 107 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.122e-06, allocations: 3.188 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7258/0.8369, allocations: 424.7 MB / 1.048 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.8371, allocations: 91.95 kB / 1.048 GB, free: 209 MB / 0.6823 GB Notification: Performance of FrontEnd: time 29.54/30.37, allocations: 10.47 GB / 11.52 GB, free: 61.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002609/30.38, allocations: 352.2 kB / 11.52 GB, free: 61.61 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03844/30.42, allocations: 12.15 MB / 11.53 GB, free: 56.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/30.42, allocations: 10.03 kB / 11.53 GB, free: 56.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/30.43, allocations: 2.34 MB / 11.54 GB, free: 55.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05888/30.49, allocations: 22.43 MB / 11.56 GB, free: 53.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004735/30.49, allocations: 194.2 kB / 11.56 GB, free: 53.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003563/30.49, allocations: 431.9 kB / 11.56 GB, free: 53.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02683/30.52, allocations: 18.12 MB / 11.58 GB, free: 53.13 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02414/30.54, allocations: 12.31 MB / 11.59 GB, free: 52.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/30.54, allocations: 7.781 kB / 11.59 GB, free: 52.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/30.54, allocations: 7.031 kB / 11.59 GB, free: 52.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/30.54, allocations: 149.6 kB / 11.59 GB, free: 52.53 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/30.65, allocations: 73.7 MB / 11.66 GB, free: 19.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/30.66, allocations: 8.359 MB / 11.67 GB, free: 19.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/30.67, allocations: 8.866 MB / 11.68 GB, free: 17.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05976/30.73, allocations: 32.37 MB / 11.71 GB, free: 0 / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01061/30.74, allocations: 8.076 MB / 11.72 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 6.152e-06/30.74, allocations: 4 kB / 11.72 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=395): time 0.5317/31.27, allocations: 38.85 MB / 11.75 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/31.27, allocations: 90.86 kB / 11.75 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01744/31.29, allocations: 11.55 MB / 11.77 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002391/31.29, allocations: 36.11 kB / 11.77 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002766/31.29, allocations: 3.067 MB / 11.77 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003669/31.3, allocations: 1.297 MB / 11.77 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007903/31.3, allocations: 0 / 11.77 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002459/31.3, allocations: 0.544 MB / 11.77 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007704/31.3, allocations: 7.134 MB / 11.78 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009144/31.31, allocations: 9.552 MB / 11.79 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/31.33, allocations: 8.223 MB / 11.8 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-05/31.33, allocations: 12.72 kB / 11.8 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.0417/31.37, allocations: 23.92 MB / 11.82 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004157/31.37, allocations: 29.53 MB / 11.85 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-05/31.37, allocations: 46.19 kB / 11.85 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7337/32.11, allocations: 188.5 MB / 12.03 GB, free: 72.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007609/32.11, allocations: 1.271 MB / 12.03 GB, free: 72.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04172/32.16, allocations: 27.63 MB / 12.06 GB, free: 55.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01493/32.17, allocations: 0.758 MB / 12.06 GB, free: 55.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/32.17, allocations: 0.7367 MB / 12.06 GB, free: 54.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/32.17, allocations: 6.188 kB / 12.06 GB, free: 54.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0322/32.21, allocations: 21.78 MB / 12.08 GB, free: 44.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/32.21, allocations: 46.2 kB / 12.08 GB, free: 44.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198/33.4, allocations: 188.6 MB / 12.27 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005961/33.41, allocations: 1.245 MB / 12.27 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04878/33.46, allocations: 29.5 MB / 12.3 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01416/33.47, allocations: 0.7288 MB / 12.3 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/33.47, allocations: 0.6903 MB / 12.3 GB, free: 108.9 MB / 0.9636 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real spl2.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" 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 pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.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: 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 (556): * Single equations (assignments): 544 * 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 {39 61,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.002106/33.48, allocations: 288 kB / 12.3 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002737/33.48, allocations: 1.151 MB / 12.3 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03283/33.51, allocations: 18.67 MB / 12.32 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-05/33.51, allocations: 52.48 kB / 12.32 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/33.51, allocations: 2.75 kB / 12.32 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01659/33.53, allocations: 12.88 MB / 12.33 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09591/33.62, allocations: 42.85 MB / 12.37 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/33.62, allocations: 4.125 kB / 12.37 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003841/33.63, allocations: 0.6825 MB / 12.37 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2251/33.85, allocations: 78.66 MB / 12.45 GB, free: 64.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/33.85, allocations: 73.61 kB / 12.45 GB, free: 64.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0213/33.88, allocations: 14.61 MB / 12.46 GB, free: 54.24 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/33.88, allocations: 7.188 kB / 12.46 GB, free: 54.23 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02966/33.91, allocations: 22.08 MB / 12.49 GB, free: 43.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007166/33.91, allocations: 2.57 MB / 12.49 GB, free: 41.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002412/33.92, allocations: 7.844 kB / 12.49 GB, free: 41.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007871/33.92, allocations: 0.5963 MB / 12.49 GB, free: 41.06 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000791/33.92, allocations: 281 kB / 12.49 GB, free: 40.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005855/33.92, allocations: 196.9 kB / 12.49 GB, free: 40.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.01109/33.94, allocations: 8.656 MB / 12.5 GB, free: 36.09 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02432/33.96, allocations: 5.595 MB / 12.5 GB, free: 30.96 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (319): * Single equations (assignments): 299 * 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 {40 60,6 79} Notification: Performance of Backend phase and start with SimCode phase: time 0.005571/33.97, allocations: 4.747 MB / 12.51 GB, free: 26.83 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.481/34.45, allocations: 29.21 MB / 12.54 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/34.45, allocations: 3.562 kB / 12.54 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01252/34.46, allocations: 7.939 MB / 12.54 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02342/34.48, allocations: 5.766 MB / 12.55 GB, free: 119 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/34.52, allocations: 19.4 MB / 12.57 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007522/34.52, allocations: 7.828 MB / 12.58 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of SimCode: time 8.51e-07/34.52, allocations: 0 / 12.58 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of Templates: time 1.231/35.75, allocations: 409.6 MB / 12.98 GB, free: 82.62 MB / 0.9637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)