Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6") [: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.002238/0.002238, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6005/0.6005, 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.11/1.11, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008409/0.0008409, allocations: 102.1 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.112e-06/6.202e-06, allocations: 2.938 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 82.3 MB / 0.6332 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7499/0.8552, allocations: 425.3 MB / 1.049 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.8556, allocations: 88.02 kB / 1.049 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 30.24/31.09, allocations: 10.71 GB / 11.76 GB, free: 64.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002293/31.1, allocations: 357.9 kB / 11.76 GB, free: 64.47 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.03405/31.13, allocations: 11.56 MB / 11.77 GB, free: 59.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/31.13, allocations: 9.906 kB / 11.77 GB, free: 59.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/31.14, allocations: 2.168 MB / 11.77 GB, free: 58.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04391/31.19, allocations: 18.78 MB / 11.79 GB, free: 56.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/31.19, allocations: 197 kB / 11.79 GB, free: 56.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/31.19, allocations: 438 kB / 11.79 GB, free: 56.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01039/31.2, allocations: 7.027 MB / 11.8 GB, free: 56.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/31.21, allocations: 7.536 MB / 11.81 GB, free: 55.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/31.21, allocations: 20.86 kB / 11.81 GB, free: 55.52 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005956/31.21, allocations: 21.27 kB / 11.81 GB, free: 55.51 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/31.21, allocations: 154.3 kB / 11.81 GB, free: 55.51 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06567/31.28, allocations: 50.42 MB / 11.86 GB, free: 27.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004826/31.28, allocations: 3.511 MB / 11.86 GB, free: 27.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005206/31.29, allocations: 4.019 MB / 11.86 GB, free: 27.56 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02765/31.31, allocations: 12.99 MB / 11.88 GB, free: 24.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004344/31.32, allocations: 3.202 MB / 11.88 GB, free: 24.26 MB / 0.948 GB Notification: Performance of pre-optimization done (n=326): time 5.44e-06/31.32, allocations: 0 / 11.88 GB, free: 24.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.04457/31.36, allocations: 17.66 MB / 11.9 GB, free: 21.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/31.36, allocations: 85.86 kB / 11.9 GB, free: 21.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02236/31.38, allocations: 11.74 MB / 11.91 GB, free: 20.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001482/31.39, allocations: 43.61 kB / 11.91 GB, free: 20.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003326/31.39, allocations: 3.265 MB / 11.91 GB, free: 18.97 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002521/31.39, allocations: 1.077 MB / 11.91 GB, free: 18.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/31.39, allocations: 0 / 11.91 GB, free: 18.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002392/31.39, allocations: 0.538 MB / 11.91 GB, free: 17.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00409/31.4, allocations: 3.256 MB / 11.92 GB, free: 17.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005221/31.4, allocations: 6.002 MB / 11.92 GB, free: 14.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007922/31.41, allocations: 4.263 MB / 11.93 GB, free: 13.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.275e-05/31.41, allocations: 21.31 kB / 11.93 GB, free: 13.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02357/31.43, allocations: 11.89 MB / 11.94 GB, free: 9.707 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.009217/31.44, allocations: 38.36 MB / 11.98 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/31.44, allocations: 58.69 kB / 11.98 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4946/31.94, allocations: 3.136 MB / 11.98 GB, free: 138.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008085/31.95, allocations: 1.393 MB / 11.98 GB, free: 138.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/31.96, allocations: 11.59 MB / 11.99 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/31.97, allocations: 0.7216 MB / 11.99 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009906/31.97, allocations: 457.2 kB / 11.99 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/31.97, allocations: 4.125 kB / 11.99 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01605/31.99, allocations: 9.467 MB / 12 GB, free: 132.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/31.99, allocations: 57.81 kB / 12 GB, free: 132.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/32, allocations: 3.095 MB / 12.01 GB, free: 132.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006177/32, allocations: 1.369 MB / 12.01 GB, free: 132.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/32.02, allocations: 13.38 MB / 12.02 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/32.03, allocations: 0.6881 MB / 12.02 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/32.04, allocations: 418.3 kB / 12.02 GB, free: 129.2 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spl3.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 pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (624): * Single equations (assignments): 609 * 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: 5 * 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: 5 {1 2,9 12,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.001535/32.04, allocations: 318.5 kB / 12.02 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002446/32.04, allocations: 1.149 MB / 12.02 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/32.06, allocations: 8.829 MB / 12.03 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/32.06, allocations: 41.97 kB / 12.03 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/32.06, allocations: 0 / 12.03 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01025/32.07, allocations: 6.246 MB / 12.04 GB, free: 128.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02882/32.1, allocations: 16.17 MB / 12.05 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/32.1, allocations: 0 / 12.05 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003189/32.1, allocations: 0.6329 MB / 12.05 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005046/32.1, allocations: 1.848 MB / 12.06 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002721/32.1, allocations: 64.48 kB / 12.06 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006563/32.11, allocations: 9.021 MB / 12.06 GB, free: 122 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/32.11, allocations: 3.5 kB / 12.06 GB, free: 122 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01664/32.13, allocations: 11.09 MB / 12.08 GB, free: 121.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00649/32.13, allocations: 2.171 MB / 12.08 GB, free: 120.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002161/32.14, allocations: 6.75 kB / 12.08 GB, free: 120.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006453/32.14, allocations: 0.5957 MB / 12.08 GB, free: 120.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/32.14, allocations: 233.2 kB / 12.08 GB, free: 120.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003491/32.14, allocations: 174.2 kB / 12.08 GB, free: 120.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.01202/32.16, allocations: 8.771 MB / 12.09 GB, free: 120 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02228/32.18, allocations: 5.061 MB / 12.09 GB, free: 120 MB / 0.9792 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 (292): * Single equations (assignments): 269 * 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: 5 * 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: 5 {1 2,9 12,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.005835/32.18, allocations: 4.744 MB / 12.1 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0211/32.2, allocations: 12.68 MB / 12.11 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/32.2, allocations: 5.219 kB / 12.11 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004613/32.21, allocations: 2.884 MB / 12.11 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02608/32.24, allocations: 5.497 MB / 12.12 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03544/32.27, allocations: 17.59 MB / 12.13 GB, free: 114 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009873/32.28, allocations: 7.752 MB / 12.14 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.082e-06/32.28, allocations: 0.8125 kB / 12.14 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of Templates: time 1.201/33.48, allocations: 283.5 MB / 12.42 GB, free: 121 MB / 0.9793 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)