Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") [: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.001911/0.001911, allocations: 184.6 kB / 7.463 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.5881/0.5881, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.4 MB / 395 MB, free: 10.21 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.0008586/0.0008586, allocations: 99.14 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.901e-06, allocations: 0 / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.58/2.688, allocations: 1.908 GB / 2.541 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/2.689, allocations: 83.95 kB / 2.541 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.422/7.11, allocations: 1.673 GB / 4.215 GB, free: 74.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002032/7.111, allocations: 62.86 kB / 4.215 GB, free: 74.83 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004361/7.115, allocations: 2.521 MB / 4.217 GB, free: 73.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/7.115, allocations: 10.25 kB / 4.217 GB, free: 73.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004998/7.12, allocations: 0.8884 MB / 4.218 GB, free: 73.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/7.125, allocations: 2.725 MB / 4.221 GB, free: 73.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/7.125, allocations: 44.03 kB / 4.221 GB, free: 73.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/7.125, allocations: 91.25 kB / 4.221 GB, free: 73.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001823/7.127, allocations: 1.233 MB / 4.222 GB, free: 73.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/7.129, allocations: 1.406 MB / 4.223 GB, free: 73.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/7.129, allocations: 6.438 kB / 4.223 GB, free: 73.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/7.129, allocations: 3.406 kB / 4.223 GB, free: 73.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/7.129, allocations: 50.14 kB / 4.223 GB, free: 73.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007745/7.137, allocations: 7.587 MB / 4.231 GB, free: 69.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/7.138, allocations: 0.8659 MB / 4.232 GB, free: 69.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/7.139, allocations: 0.5475 MB / 4.232 GB, free: 69.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/7.139, allocations: 276.9 kB / 4.232 GB, free: 69.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/7.139, allocations: 45.66 kB / 4.232 GB, free: 69.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/7.139, allocations: 3.719 kB / 4.232 GB, free: 69.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78): time 0.003198/7.142, allocations: 1.142 MB / 4.234 GB, free: 68.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/7.142, allocations: 61.41 kB / 4.234 GB, free: 68.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/7.144, allocations: 1.305 MB / 4.235 GB, free: 68.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/7.144, allocations: 25.7 kB / 4.235 GB, free: 68.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/7.144, allocations: 0.6286 MB / 4.236 GB, free: 68.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/7.144, allocations: 261.4 kB / 4.236 GB, free: 68.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/7.144, allocations: 0 / 4.236 GB, free: 68.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.736e-05/7.144, allocations: 352.4 kB / 4.236 GB, free: 67.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/7.145, allocations: 354 kB / 4.236 GB, free: 67.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/7.145, allocations: 0.7638 MB / 4.237 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000894/7.146, allocations: 0.5151 MB / 4.238 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/7.146, allocations: 6.234 kB / 4.238 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002419/7.149, allocations: 1.344 MB / 4.239 GB, free: 67.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005741/7.149, allocations: 3.842 MB / 4.243 GB, free: 63.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/7.149, allocations: 13.41 kB / 4.243 GB, free: 63.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/7.15, allocations: 112.4 kB / 4.243 GB, free: 63.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/7.151, allocations: 264.7 kB / 4.243 GB, free: 63.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/7.153, allocations: 2.224 MB / 4.245 GB, free: 61.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/7.154, allocations: 163.8 kB / 4.245 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/7.154, allocations: 62.16 kB / 4.246 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-06/7.154, allocations: 3.031 kB / 4.246 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002079/7.156, allocations: 1.051 MB / 4.247 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/7.156, allocations: 8.375 kB / 4.247 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/7.157, allocations: 106.1 kB / 4.247 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/7.158, allocations: 245.6 kB / 4.247 GB, free: 61.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/7.159, allocations: 1.643 MB / 4.249 GB, free: 60.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/7.16, allocations: 136.6 kB / 4.249 GB, free: 60.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/7.16, allocations: 54.42 kB / 4.249 GB, free: 60.06 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 (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002123/7.161, allocations: 141 kB / 4.249 GB, free: 59.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/7.161, allocations: 183.6 kB / 4.249 GB, free: 59.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/7.163, allocations: 1.104 MB / 4.25 GB, free: 59.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/7.163, allocations: 7.188 kB / 4.25 GB, free: 59.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/7.163, allocations: 6.5 kB / 4.25 GB, free: 59.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001656/7.165, allocations: 0.9174 MB / 4.251 GB, free: 59.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/7.169, allocations: 2.643 MB / 4.254 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/7.169, allocations: 0 / 4.254 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/7.17, allocations: 201.4 kB / 4.254 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002445/7.17, allocations: 102.9 kB / 4.254 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/7.17, allocations: 9.984 kB / 4.254 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/7.172, allocations: 2.216 MB / 4.256 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/7.172, allocations: 8.547 kB / 4.256 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002367/7.174, allocations: 1.679 MB / 4.258 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/7.175, allocations: 355.7 kB / 4.258 GB, free: 56.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/7.175, allocations: 0 / 4.258 GB, free: 56.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/7.176, allocations: 105 kB / 4.258 GB, free: 56.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/7.176, allocations: 49.33 kB / 4.258 GB, free: 56.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/7.176, allocations: 33.34 kB / 4.258 GB, free: 56.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.00103/7.177, allocations: 0.9909 MB / 4.259 GB, free: 56.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003443/7.181, allocations: 1.288 MB / 4.26 GB, free: 56.34 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005806/7.186, allocations: 4.399 MB / 4.265 GB, free: 54.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002993/7.189, allocations: 1.699 MB / 4.266 GB, free: 54.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/7.189, allocations: 1.422 kB / 4.266 GB, free: 54.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006346/7.19, allocations: 0.5115 MB / 4.267 GB, free: 54.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/7.194, allocations: 0.8344 MB / 4.268 GB, free: 54.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/7.198, allocations: 2.749 MB / 4.27 GB, free: 53.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/7.199, allocations: 1.772 MB / 4.272 GB, free: 52.83 MB / 0.7292 GB Notification: Performance of SimCode: time 1.523e-06/7.199, allocations: 0 / 4.272 GB, free: 52.83 MB / 0.7292 GB Notification: Performance of Templates: time 0.07827/7.278, allocations: 58.81 MB / 4.33 GB, free: 49.75 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)