Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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.004431/0.004431, allocations: 186.3 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6777/0.6777, allocations: 130.6 MB / 138.5 MB, free: 2.176 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.692/1.692, allocations: 221.3 MB / 391.4 MB, free: 13.11 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.00117/0.00117, allocations: 97.92 kB / 473.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.053e-05, allocations: 2.062 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1784, allocations: 81.59 MB / 0.6276 GB, free: 18.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.404/4.582, allocations: 1.831 GB / 2.459 GB, free: 46.15 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/4.582, allocations: 91.94 kB / 2.459 GB, free: 46.06 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.375/8.957, allocations: 1.08 GB / 3.539 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002054/8.957, allocations: 30.86 kB / 3.539 GB, free: 160.9 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.005714/8.963, allocations: 1.356 MB / 3.541 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/8.963, allocations: 7.938 kB / 3.541 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/8.965, allocations: 198.5 kB / 3.541 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00501/8.97, allocations: 1.433 MB / 3.542 GB, free: 160.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/8.97, allocations: 19.34 kB / 3.542 GB, free: 160.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/8.97, allocations: 43.16 kB / 3.542 GB, free: 160.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00139/8.972, allocations: 0.7162 MB / 3.543 GB, free: 160 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/8.973, allocations: 0.8772 MB / 3.544 GB, free: 159.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/8.973, allocations: 0 / 3.544 GB, free: 159.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/8.973, allocations: 4.875 kB / 3.544 GB, free: 159.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/8.973, allocations: 15.34 kB / 3.544 GB, free: 159.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/8.979, allocations: 4.722 MB / 3.548 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/8.979, allocations: 0.5155 MB / 3.549 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/8.98, allocations: 443.3 kB / 3.549 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/8.98, allocations: 196.6 kB / 3.549 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/8.98, allocations: 312.8 kB / 3.55 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=35): time 2.395e-06/8.98, allocations: 3.938 kB / 3.55 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35): time 0.002255/8.983, allocations: 0.9514 MB / 3.551 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/8.983, allocations: 84.23 kB / 3.551 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/8.984, allocations: 0.916 MB / 3.552 GB, free: 156 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/8.984, allocations: 25.7 kB / 3.552 GB, free: 156 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/8.985, allocations: 355.1 kB / 3.552 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/8.985, allocations: 121.7 kB / 3.552 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/8.985, allocations: 0 / 3.552 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/8.985, allocations: 325.5 kB / 3.552 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/8.985, allocations: 225.5 kB / 3.553 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/8.986, allocations: 0.5491 MB / 3.553 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/8.986, allocations: 321.2 kB / 3.554 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/8.986, allocations: 0 / 3.554 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002004/8.988, allocations: 1.087 MB / 3.555 GB, free: 155 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005521/8.989, allocations: 2.099 MB / 3.557 GB, free: 152.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/8.989, allocations: 11.59 kB / 3.557 GB, free: 152.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007468/8.989, allocations: 362.1 kB / 3.557 GB, free: 152.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/8.99, allocations: 68.69 kB / 3.557 GB, free: 152.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/8.992, allocations: 1.42 MB / 3.558 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/8.993, allocations: 119.8 kB / 3.559 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/8.993, allocations: 26.53 kB / 3.559 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/8.993, allocations: 3.906 kB / 3.559 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001364/8.994, allocations: 0.7712 MB / 3.559 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/8.994, allocations: 7.125 kB / 3.559 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/8.995, allocations: 310.2 kB / 3.56 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/8.995, allocations: 66.38 kB / 3.56 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/9, allocations: 3.465 MB / 3.563 GB, free: 150.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/9.001, allocations: 107.6 kB / 3.563 GB, free: 150.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/9.001, allocations: 24.34 kB / 3.563 GB, free: 150.9 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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002281/9.001, allocations: 131.5 kB / 3.563 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/9.002, allocations: 98.88 kB / 3.563 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/9.003, allocations: 0.8552 MB / 3.564 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/9.003, allocations: 3.156 kB / 3.564 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/9.003, allocations: 0 / 3.564 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/9.003, allocations: 2.938 kB / 3.564 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/9.006, allocations: 1.785 MB / 3.566 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/9.006, allocations: 6.906 kB / 3.566 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/9.006, allocations: 26.08 kB / 3.566 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005929/9.007, allocations: 326.4 kB / 3.566 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/9.007, allocations: 3.688 kB / 3.566 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/9.008, allocations: 1.266 MB / 3.568 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/9.008, allocations: 6.797 kB / 3.568 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001406/9.01, allocations: 1.036 MB / 3.569 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/9.01, allocations: 232.1 kB / 3.569 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/9.011, allocations: 3.969 kB / 3.569 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009381/9.012, allocations: 82.92 kB / 3.569 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/9.012, allocations: 31.81 kB / 3.569 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/9.012, allocations: 7.188 kB / 3.569 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001037/9.013, allocations: 0.7217 MB / 3.57 GB, free: 149 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00238/9.015, allocations: 0.5542 MB / 3.57 GB, free: 148.9 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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002102/9.017, allocations: 1.21 MB / 3.571 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002676/9.02, allocations: 1.195 MB / 3.573 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/9.02, allocations: 0 / 3.573 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00062/9.021, allocations: 328.8 kB / 3.573 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/9.024, allocations: 0.5726 MB / 3.573 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/9.027, allocations: 1.486 MB / 3.575 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/9.028, allocations: 1.295 MB / 3.576 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of SimCode: time 3.196e-06/9.028, allocations: 0 / 3.576 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.0536/9.082, allocations: 26.95 MB / 3.602 GB, free: 146.6 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)