Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Movers.Validation.FlowControlled_dp") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00314/0.00314, allocations: 179.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6561/0.6561, allocations: 130.6 MB / 138.5 MB, free: 2.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.4 MB / 391.4 MB, free: 13.08 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.001122/0.001122, allocations: 99.83 kB / 473.5 MB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.938e-06/9.969e-06, allocations: 2.719 kB / 0.5479 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1855, allocations: 81.58 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.679/4.864, allocations: 1.908 GB / 2.535 GB, free: 236.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/4.865, allocations: 88.7 kB / 2.535 GB, free: 236.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.933/10.8, allocations: 1.674 GB / 4.209 GB, free: 72.99 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005816/10.8, allocations: 67.52 kB / 4.209 GB, free: 72.98 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.009351/10.81, allocations: 2.531 MB / 4.212 GB, free: 71.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/10.81, allocations: 13 kB / 4.212 GB, free: 71.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006851/10.81, allocations: 0.8885 MB / 4.213 GB, free: 71.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008939/10.82, allocations: 2.738 MB / 4.215 GB, free: 71.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/10.82, allocations: 45.91 kB / 4.215 GB, free: 71.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005846/10.82, allocations: 91.78 kB / 4.215 GB, free: 71.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003138/10.83, allocations: 1.245 MB / 4.217 GB, free: 71.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/10.83, allocations: 1.413 MB / 4.218 GB, free: 70.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/10.83, allocations: 0 / 4.218 GB, free: 70.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/10.83, allocations: 9.5 kB / 4.218 GB, free: 70.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.668e-05/10.83, allocations: 53.16 kB / 4.218 GB, free: 70.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/10.85, allocations: 7.634 MB / 4.225 GB, free: 67.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/10.85, allocations: 0.9011 MB / 4.226 GB, free: 67.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/10.85, allocations: 0.5385 MB / 4.227 GB, free: 67.08 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/10.85, allocations: 283.8 kB / 4.227 GB, free: 66.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/10.85, allocations: 41.34 kB / 4.227 GB, free: 66.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=81): time 3.617e-06/10.85, allocations: 1.219 kB / 4.227 GB, free: 66.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.004227/10.85, allocations: 1.203 MB / 4.228 GB, free: 66.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/10.85, allocations: 58.25 kB / 4.228 GB, free: 66.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/10.86, allocations: 1.309 MB / 4.23 GB, free: 66.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/10.86, allocations: 28.95 kB / 4.23 GB, free: 66.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/10.86, allocations: 0.6268 MB / 4.23 GB, free: 65.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/10.86, allocations: 271.7 kB / 4.231 GB, free: 65.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/10.86, allocations: 0 / 4.231 GB, free: 65.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/10.86, allocations: 350 kB / 4.231 GB, free: 65.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/10.86, allocations: 364.2 kB / 4.231 GB, free: 65.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/10.86, allocations: 0.7638 MB / 4.232 GB, free: 64.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/10.86, allocations: 0.5249 MB / 4.233 GB, free: 64.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/10.86, allocations: 3 kB / 4.233 GB, free: 64.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003271/10.86, allocations: 1.393 MB / 4.234 GB, free: 64.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007687/10.86, allocations: 3.852 MB / 4.238 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/10.86, allocations: 9.906 kB / 4.238 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004792/10.86, allocations: 145.5 kB / 4.238 GB, free: 60.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/10.87, allocations: 266.2 kB / 4.238 GB, free: 60.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/10.87, allocations: 3.391 MB / 4.241 GB, free: 57.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/10.87, allocations: 156.3 kB / 4.242 GB, free: 57.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/10.87, allocations: 63.95 kB / 4.242 GB, free: 57.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/10.87, allocations: 7.031 kB / 4.242 GB, free: 57.84 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002665/10.87, allocations: 1.159 MB / 4.243 GB, free: 57.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/10.87, allocations: 10.75 kB / 4.243 GB, free: 57.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/10.87, allocations: 138.1 kB / 4.243 GB, free: 57.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/10.87, allocations: 247.4 kB / 4.243 GB, free: 57.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/10.88, allocations: 3.034 MB / 4.246 GB, free: 55.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/10.88, allocations: 145.2 kB / 4.246 GB, free: 55.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/10.88, allocations: 52.2 kB / 4.246 GB, free: 55.18 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.0004357/10.88, allocations: 151 kB / 4.246 GB, free: 55.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000564/10.88, allocations: 184.4 kB / 4.247 GB, free: 54.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/10.88, allocations: 1.235 MB / 4.248 GB, free: 54.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/10.88, allocations: 9.094 kB / 4.248 GB, free: 54.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/10.88, allocations: 2.281 kB / 4.248 GB, free: 54.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002179/10.89, allocations: 1.038 MB / 4.249 GB, free: 54.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006824/10.89, allocations: 2.696 MB / 4.251 GB, free: 53.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/10.89, allocations: 3.469 kB / 4.251 GB, free: 53.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/10.89, allocations: 219.1 kB / 4.252 GB, free: 53.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/10.89, allocations: 113.9 kB / 4.252 GB, free: 53.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/10.89, allocations: 11.16 kB / 4.252 GB, free: 53.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/10.9, allocations: 4.716 MB / 4.256 GB, free: 49.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/10.9, allocations: 3.938 kB / 4.256 GB, free: 49.71 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003336/10.9, allocations: 1.81 MB / 4.258 GB, free: 49.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/10.9, allocations: 358.9 kB / 4.258 GB, free: 49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005857/10.9, allocations: 5.531 kB / 4.258 GB, free: 49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/10.9, allocations: 105.8 kB / 4.259 GB, free: 48.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/10.9, allocations: 48.14 kB / 4.259 GB, free: 48.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/10.9, allocations: 40.02 kB / 4.259 GB, free: 48.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002016/10.91, allocations: 0.9884 MB / 4.26 GB, free: 48.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00535/10.91, allocations: 1.299 MB / 4.261 GB, free: 48.68 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.006364/10.92, allocations: 4.399 MB / 4.265 GB, free: 46.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00441/10.92, allocations: 1.844 MB / 4.267 GB, free: 46.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/10.92, allocations: 0 / 4.267 GB, free: 46.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/10.92, allocations: 0.6399 MB / 4.268 GB, free: 46.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/10.93, allocations: 0.8465 MB / 4.268 GB, free: 46.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/10.93, allocations: 2.797 MB / 4.271 GB, free: 45.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/10.94, allocations: 1.784 MB / 4.273 GB, free: 44.88 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/10.94, allocations: 0 / 4.273 GB, free: 44.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.1075/11.04, allocations: 59.85 MB / 4.331 GB, free: 22.09 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)