Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") [: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.002694/0.002694, allocations: 180.7 kB / 7.451 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6711/0.6711, allocations: 130.6 MB / 138.5 MB, free: 2.234 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.544/1.544, allocations: 221.3 MB / 391.4 MB, free: 12.96 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.0009897/0.0009898, allocations: 90.23 kB / 473.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.886e-06/8.906e-06, allocations: 3.062 kB / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1599, allocations: 81.59 MB / 0.6276 GB, free: 18.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.94/4.1, allocations: 1.831 GB / 2.459 GB, free: 43.86 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/4.1, allocations: 93.41 kB / 2.459 GB, free: 43.77 MB / 0.6667 GB Notification: Performance of FrontEnd: time 6.259/10.36, allocations: 1.804 GB / 4.263 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001596/10.36, allocations: 31.98 kB / 4.263 GB, free: 4.039 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004253/10.36, allocations: 1.184 MB / 4.264 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/10.36, allocations: 12.03 kB / 4.264 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/10.37, allocations: 186.5 kB / 4.264 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/10.37, allocations: 1.373 MB / 4.265 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/10.37, allocations: 16 kB / 4.265 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/10.37, allocations: 40 kB / 4.265 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008437/10.37, allocations: 0.5056 MB / 4.266 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3214/10.69, allocations: 0.7119 MB / 4.267 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/10.69, allocations: 3.25 kB / 4.267 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/10.69, allocations: 5.938 kB / 4.267 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/10.69, allocations: 10.59 kB / 4.267 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/10.7, allocations: 4.152 MB / 4.271 GB, free: 241.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/10.7, allocations: 484.8 kB / 4.271 GB, free: 241.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/10.7, allocations: 343.9 kB / 4.271 GB, free: 241.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/10.7, allocations: 194.5 kB / 4.272 GB, free: 241.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/10.7, allocations: 288.3 kB / 4.272 GB, free: 241.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.335e-06/10.7, allocations: 3.781 kB / 4.272 GB, free: 241.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001742/10.7, allocations: 0.8068 MB / 4.273 GB, free: 241.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/10.7, allocations: 91.28 kB / 4.273 GB, free: 241.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009143/10.7, allocations: 0.8715 MB / 4.274 GB, free: 241.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/10.7, allocations: 32.27 kB / 4.274 GB, free: 241.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/10.7, allocations: 338.5 kB / 4.274 GB, free: 241.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/10.7, allocations: 109 kB / 4.274 GB, free: 241.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/10.7, allocations: 0 / 4.274 GB, free: 241.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/10.7, allocations: 323.1 kB / 4.274 GB, free: 240.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/10.7, allocations: 212.6 kB / 4.275 GB, free: 240.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/10.7, allocations: 0.5219 MB / 4.275 GB, free: 240.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/10.7, allocations: 305.3 kB / 4.275 GB, free: 240.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/10.7, allocations: 0 / 4.275 GB, free: 240.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001453/10.7, allocations: 0.9424 MB / 4.276 GB, free: 240.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004015/10.7, allocations: 2.095 MB / 4.278 GB, free: 238.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/10.7, allocations: 5.906 kB / 4.278 GB, free: 238.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/10.7, allocations: 254.3 kB / 4.279 GB, free: 238.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/10.7, allocations: 68.55 kB / 4.279 GB, free: 238.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/10.71, allocations: 1.184 MB / 4.28 GB, free: 237.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009682/10.71, allocations: 96.61 kB / 4.28 GB, free: 237.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/10.71, allocations: 35.36 kB / 4.28 GB, free: 237.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/10.71, allocations: 7.688 kB / 4.28 GB, free: 237.6 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/10.71, allocations: 0.6341 MB / 4.281 GB, free: 237.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/10.71, allocations: 6.375 kB / 4.281 GB, free: 237.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/10.71, allocations: 233 kB / 4.281 GB, free: 237.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/10.71, allocations: 63.94 kB / 4.281 GB, free: 237.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/10.71, allocations: 2.801 MB / 4.284 GB, free: 236.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008832/10.71, allocations: 93.72 kB / 4.284 GB, free: 236.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/10.71, allocations: 23.34 kB / 4.284 GB, free: 236.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/10.71, allocations: 120.8 kB / 4.284 GB, free: 236.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/10.71, allocations: 102.7 kB / 4.284 GB, free: 236.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/10.71, allocations: 0.7242 MB / 4.285 GB, free: 236 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/10.71, allocations: 3.938 kB / 4.285 GB, free: 236 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/10.71, allocations: 0 / 4.285 GB, free: 236 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/10.71, allocations: 6.875 kB / 4.285 GB, free: 236 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/10.72, allocations: 1.596 MB / 4.286 GB, free: 235.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/10.72, allocations: 3.891 kB / 4.286 GB, free: 235.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/10.72, allocations: 34.25 kB / 4.286 GB, free: 235.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/10.72, allocations: 211.4 kB / 4.286 GB, free: 235.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/10.72, allocations: 3.594 kB / 4.286 GB, free: 235.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007419/10.72, allocations: 1.042 MB / 4.287 GB, free: 235 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/10.72, allocations: 2.156 kB / 4.287 GB, free: 235 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009231/10.72, allocations: 0.918 MB / 4.288 GB, free: 234.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/10.72, allocations: 226.8 kB / 4.289 GB, free: 234.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/10.72, allocations: 3.625 kB / 4.289 GB, free: 234.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/10.72, allocations: 70.95 kB / 4.289 GB, free: 234.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/10.72, allocations: 30.83 kB / 4.289 GB, free: 234.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/10.72, allocations: 9.656 kB / 4.289 GB, free: 234.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0006995/10.72, allocations: 0.6881 MB / 4.289 GB, free: 234.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001447/10.72, allocations: 0.4911 MB / 4.29 GB, free: 234.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/10.72, allocations: 1.036 MB / 4.291 GB, free: 234.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001345/10.72, allocations: 0.9693 MB / 4.292 GB, free: 234 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/10.72, allocations: 10.97 kB / 4.292 GB, free: 234 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/10.72, allocations: 220.2 kB / 4.292 GB, free: 234 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/10.73, allocations: 0.5213 MB / 4.292 GB, free: 234 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/10.73, allocations: 1.404 MB / 4.294 GB, free: 233.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/10.73, allocations: 1.266 MB / 4.295 GB, free: 232.9 MB / 0.6667 GB Notification: Performance of SimCode: time 8.12e-07/10.73, allocations: 0 / 4.295 GB, free: 232.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.0375/10.77, allocations: 24.54 MB / 4.319 GB, free: 232.6 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)