Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [: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.004255/0.004255, allocations: 176.8 kB / 7.452 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.6593/0.6593, allocations: 130.6 MB / 138.5 MB, free: 2.215 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.624/1.624, allocations: 221.3 MB / 391.4 MB, free: 13.02 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.001072/0.001072, allocations: 93.66 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.666e-06, allocations: 1.594 kB / 0.5479 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1868, allocations: 81.56 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.361/4.548, allocations: 1.831 GB / 2.459 GB, free: 45.71 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/4.548, allocations: 87.94 kB / 2.459 GB, free: 45.63 MB / 0.6667 GB Notification: Performance of FrontEnd: time 7.459/12.01, allocations: 1.998 GB / 4.457 GB, free: 62.96 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001846/12.01, allocations: 35.92 kB / 4.457 GB, free: 62.93 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004819/12.01, allocations: 1.349 MB / 4.458 GB, free: 61.52 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/12.01, allocations: 12.03 kB / 4.458 GB, free: 61.51 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/12.01, allocations: 202.3 kB / 4.458 GB, free: 61.31 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004282/12.02, allocations: 1.43 MB / 4.46 GB, free: 59.82 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/12.02, allocations: 20 kB / 4.46 GB, free: 59.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/12.02, allocations: 40 kB / 4.46 GB, free: 59.77 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00135/12.02, allocations: 0.7248 MB / 4.461 GB, free: 59.04 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/12.02, allocations: 0.8755 MB / 4.461 GB, free: 58.09 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/12.02, allocations: 3.938 kB / 4.461 GB, free: 58.09 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/12.02, allocations: 11.91 kB / 4.461 GB, free: 58.08 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/12.02, allocations: 12 kB / 4.461 GB, free: 58.07 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005724/12.03, allocations: 4.716 MB / 4.466 GB, free: 53.03 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000804/12.03, allocations: 0.5158 MB / 4.467 GB, free: 52.51 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/12.03, allocations: 451.5 kB / 4.467 GB, free: 52.07 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/12.03, allocations: 198.5 kB / 4.467 GB, free: 51.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/12.03, allocations: 305.9 kB / 4.467 GB, free: 51.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=35): time 3.016e-06/12.03, allocations: 0 / 4.467 GB, free: 51.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35): time 0.00217/12.03, allocations: 0.9383 MB / 4.468 GB, free: 50.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/12.03, allocations: 85.11 kB / 4.468 GB, free: 50.47 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/12.03, allocations: 0.9178 MB / 4.469 GB, free: 49.54 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/12.03, allocations: 29.64 kB / 4.469 GB, free: 49.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/12.03, allocations: 356.3 kB / 4.47 GB, free: 49.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/12.03, allocations: 114.2 kB / 4.47 GB, free: 49.03 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/12.03, allocations: 4 kB / 4.47 GB, free: 49.03 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/12.03, allocations: 330 kB / 4.47 GB, free: 48.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/12.03, allocations: 224.9 kB / 4.47 GB, free: 48.48 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/12.03, allocations: 0.5536 MB / 4.471 GB, free: 47.78 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/12.03, allocations: 322 kB / 4.471 GB, free: 47.46 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/12.03, allocations: 4 kB / 4.471 GB, free: 47.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001922/12.04, allocations: 1.075 MB / 4.472 GB, free: 46.38 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004866/12.04, allocations: 2.1 MB / 4.474 GB, free: 44.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/12.04, allocations: 8 kB / 4.474 GB, free: 44.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/12.04, allocations: 333.2 kB / 4.475 GB, free: 43.78 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/12.04, allocations: 67.81 kB / 4.475 GB, free: 43.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/12.04, allocations: 1.356 MB / 4.476 GB, free: 42.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/12.04, allocations: 111.5 kB / 4.476 GB, free: 42.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/12.04, allocations: 28 kB / 4.476 GB, free: 42.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/12.04, allocations: 4 kB / 4.476 GB, free: 42.19 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/12.04, allocations: 0.7579 MB / 4.477 GB, free: 41.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/12.04, allocations: 4 kB / 4.477 GB, free: 41.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007504/12.04, allocations: 312.8 kB / 4.477 GB, free: 41.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/12.04, allocations: 63.84 kB / 4.477 GB, free: 41.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/12.05, allocations: 3.434 MB / 4.481 GB, free: 37.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/12.05, allocations: 103.6 kB / 4.481 GB, free: 37.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/12.05, allocations: 24 kB / 4.481 GB, free: 37.39 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 (34): * Single equations (assignments): 32 * 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001973/12.05, allocations: 126.2 kB / 4.481 GB, free: 37.26 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/12.05, allocations: 106.7 kB / 4.481 GB, free: 37.15 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/12.05, allocations: 0.8507 MB / 4.482 GB, free: 36.29 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/12.05, allocations: 4 kB / 4.482 GB, free: 36.29 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/12.05, allocations: 0 / 4.482 GB, free: 36.29 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/12.05, allocations: 3.984 kB / 4.482 GB, free: 36.28 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/12.05, allocations: 1.794 MB / 4.484 GB, free: 34.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/12.05, allocations: 0 / 4.484 GB, free: 34.42 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/12.05, allocations: 24.2 kB / 4.484 GB, free: 34.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/12.05, allocations: 292.5 kB / 4.484 GB, free: 34.11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/12.05, allocations: 7.906 kB / 4.484 GB, free: 34.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000915/12.05, allocations: 1.209 MB / 4.485 GB, free: 32.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/12.05, allocations: 4 kB / 4.485 GB, free: 32.86 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00116/12.05, allocations: 1.031 MB / 4.486 GB, free: 31.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004723/12.06, allocations: 227.7 kB / 4.486 GB, free: 31.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/12.06, allocations: 7.984 kB / 4.486 GB, free: 31.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/12.06, allocations: 83.75 kB / 4.486 GB, free: 31.42 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/12.06, allocations: 23.97 kB / 4.486 GB, free: 31.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/12.06, allocations: 15.98 kB / 4.486 GB, free: 31.38 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008091/12.06, allocations: 0.7178 MB / 4.487 GB, free: 30.65 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001843/12.06, allocations: 0.5617 MB / 4.488 GB, free: 30.09 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 (12): * Single equations (assignments): 9 * 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/12.06, allocations: 1.212 MB / 4.489 GB, free: 28.87 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001635/12.06, allocations: 1.074 MB / 4.49 GB, free: 27.77 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/12.06, allocations: 1.25 kB / 4.49 GB, free: 27.77 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/12.06, allocations: 275.4 kB / 4.49 GB, free: 27.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/12.07, allocations: 0.5624 MB / 4.491 GB, free: 26.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/12.07, allocations: 1.483 MB / 4.492 GB, free: 25.41 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007709/12.07, allocations: 1.292 MB / 4.493 GB, free: 24.09 MB / 0.6667 GB Notification: Performance of SimCode: time 7.11e-07/12.07, allocations: 4 kB / 4.493 GB, free: 24.09 MB / 0.6667 GB Notification: Performance of Templates: time 0.3385/12.41, allocations: 27.37 MB / 4.52 GB, free: 223.2 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)