Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.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.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp") [: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.001977/0.001977, allocations: 173.4 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.6008/0.6008, 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.135/1.135, allocations: 221.3 MB / 395 MB, free: 10.27 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.0008396/0.0008397, allocations: 105.3 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.1e-06, allocations: 0 / 0.5528 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.775/2.883, allocations: 1.908 GB / 2.541 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/2.883, allocations: 85.58 kB / 2.541 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.65/7.534, allocations: 1.674 GB / 4.215 GB, free: 75.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003071/7.534, allocations: 63.98 kB / 4.215 GB, free: 75.22 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.006651/7.541, allocations: 2.528 MB / 4.218 GB, free: 74.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/7.541, allocations: 10.31 kB / 4.218 GB, free: 74.17 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00589/7.547, allocations: 0.8887 MB / 4.218 GB, free: 74.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005959/7.553, allocations: 2.74 MB / 4.221 GB, free: 73.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/7.553, allocations: 44.97 kB / 4.221 GB, free: 73.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/7.553, allocations: 86.12 kB / 4.221 GB, free: 73.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001947/7.555, allocations: 1.25 MB / 4.222 GB, free: 73.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/7.557, allocations: 1.419 MB / 4.224 GB, free: 73.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/7.557, allocations: 0 / 4.224 GB, free: 73.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/7.557, allocations: 4.812 kB / 4.224 GB, free: 73.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/7.557, allocations: 49.11 kB / 4.224 GB, free: 73.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008519/7.565, allocations: 7.65 MB / 4.231 GB, free: 69.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/7.567, allocations: 0.8994 MB / 4.232 GB, free: 69.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/7.567, allocations: 0.5437 MB / 4.233 GB, free: 69.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/7.567, allocations: 275.8 kB / 4.233 GB, free: 69.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/7.567, allocations: 45.38 kB / 4.233 GB, free: 69.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=81): time 2.525e-06/7.568, allocations: 0 / 4.233 GB, free: 69.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.003375/7.571, allocations: 1.195 MB / 4.234 GB, free: 69.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/7.571, allocations: 61.75 kB / 4.234 GB, free: 68.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/7.572, allocations: 1.318 MB / 4.236 GB, free: 68.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/7.572, allocations: 25.7 kB / 4.236 GB, free: 68.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/7.573, allocations: 0.6364 MB / 4.236 GB, free: 68.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/7.573, allocations: 269.1 kB / 4.236 GB, free: 68.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/7.573, allocations: 1.844 kB / 4.236 GB, free: 68.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.258e-05/7.573, allocations: 349.3 kB / 4.237 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/7.573, allocations: 354.8 kB / 4.237 GB, free: 67.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/7.574, allocations: 0.7729 MB / 4.238 GB, free: 67.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009199/7.575, allocations: 0.5152 MB / 4.238 GB, free: 67.37 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/7.575, allocations: 11.05 kB / 4.238 GB, free: 67.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002556/7.578, allocations: 1.392 MB / 4.24 GB, free: 67.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005235/7.578, allocations: 3.851 MB / 4.244 GB, free: 63.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/7.578, allocations: 10.78 kB / 4.244 GB, free: 63.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/7.579, allocations: 142.7 kB / 4.244 GB, free: 63.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/7.58, allocations: 266.9 kB / 4.244 GB, free: 63.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/7.582, allocations: 3.395 MB / 4.247 GB, free: 60.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/7.584, allocations: 162.7 kB / 4.247 GB, free: 60.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/7.584, allocations: 62.38 kB / 4.247 GB, free: 60.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/7.584, allocations: 3.719 kB / 4.247 GB, free: 60.25 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002198/7.586, allocations: 1.16 MB / 4.249 GB, free: 60.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/7.586, allocations: 9.125 kB / 4.249 GB, free: 60.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/7.586, allocations: 141.6 kB / 4.249 GB, free: 60.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/7.587, allocations: 247.5 kB / 4.249 GB, free: 60.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/7.589, allocations: 3.034 MB / 4.252 GB, free: 57.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/7.591, allocations: 146 kB / 4.252 GB, free: 57.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/7.591, allocations: 53.72 kB / 4.252 GB, free: 57.6 MB / 0.7292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002717/7.591, allocations: 140.2 kB / 4.252 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/7.591, allocations: 185.4 kB / 4.252 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/7.594, allocations: 1.231 MB / 4.254 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/7.594, allocations: 11.12 kB / 4.254 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/7.594, allocations: 0 / 4.254 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001796/7.596, allocations: 1.036 MB / 4.255 GB, free: 56.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/7.601, allocations: 2.701 MB / 4.257 GB, free: 56.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/7.601, allocations: 0 / 4.257 GB, free: 56.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/7.602, allocations: 214.1 kB / 4.258 GB, free: 56.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/7.602, allocations: 120.3 kB / 4.258 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/7.602, allocations: 12.56 kB / 4.258 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/7.605, allocations: 4.71 MB / 4.262 GB, free: 52.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/7.605, allocations: 2.75 kB / 4.262 GB, free: 52.14 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002662/7.607, allocations: 1.812 MB / 4.264 GB, free: 51.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/7.608, allocations: 352.4 kB / 4.264 GB, free: 51.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/7.608, allocations: 3.469 kB / 4.264 GB, free: 51.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/7.61, allocations: 106.4 kB / 4.264 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/7.61, allocations: 54.25 kB / 4.265 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/7.61, allocations: 36.66 kB / 4.265 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001398/7.611, allocations: 0.9891 MB / 4.266 GB, free: 51.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004046/7.615, allocations: 1.298 MB / 4.267 GB, free: 51.12 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004848/7.62, allocations: 4.391 MB / 4.271 GB, free: 49.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002848/7.623, allocations: 1.838 MB / 4.273 GB, free: 49.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/7.623, allocations: 3.219 kB / 4.273 GB, free: 49.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008511/7.624, allocations: 0.649 MB / 4.274 GB, free: 48.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/7.628, allocations: 0.8402 MB / 4.274 GB, free: 48.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/7.635, allocations: 2.793 MB / 4.277 GB, free: 48.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/7.636, allocations: 1.785 MB / 4.279 GB, free: 47.34 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/7.636, allocations: 0 / 4.279 GB, free: 47.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.08271/7.719, allocations: 59.83 MB / 4.337 GB, free: 43.27 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)