Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 91.22 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008236/0.0008237, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9562/0.9562, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 8 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 82.32 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4888/0.645, allocations: 152.4 MB / 0.7362 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004211/0.6492, allocations: 2.086 MB / 0.7382 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.6498, allocations: 18.62 kB / 0.7382 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006565/0.6504, allocations: 150.9 kB / 0.7384 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.6522, allocations: 0.5002 MB / 0.7389 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.6536, allocations: 369.8 kB / 0.7392 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003631/0.6572, allocations: 3.259 MB / 0.7424 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.66, allocations: 2.287 MB / 0.7446 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.6626, allocations: 1.064 MB / 0.7457 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.6639, allocations: 0.8506 MB / 0.7465 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.664, allocations: 47.22 kB / 0.7466 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.6654, allocations: 0.5925 MB / 0.7471 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.6658, allocations: 330.8 kB / 0.7474 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.6662, allocations: 246.1 kB / 0.7477 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.6676, allocations: 1.177 MB / 0.7488 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6676, allocations: 0 / 0.7488 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6677, allocations: 0 / 0.7488 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.6677, allocations: 0 / 0.7488 GB, free: 7.734 MB / 0.5606 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.002611/0.6703, allocations: 1.522 MB / 0.7503 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.6703, allocations: 8.031 kB / 0.7503 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007555/0.6711, allocations: 202.3 kB / 0.7505 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.6726, allocations: 0.8794 MB / 0.7514 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.6726, allocations: 49.31 kB / 0.7514 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.6727, allocations: 60 kB / 0.7515 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.6742, allocations: 0.9909 MB / 0.7525 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6742, allocations: 7.938 kB / 0.7525 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.6743, allocations: 24 kB / 0.7525 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.6743, allocations: 16 kB / 0.7525 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.6756, allocations: 0.8116 MB / 0.7533 GB, free: 2.98 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004795/0.6804, allocations: 4.801 MB / 0.758 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.683, allocations: 4.023 MB / 0.7619 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.6835, allocations: 359.6 kB / 0.7622 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.6838, allocations: 194.5 kB / 0.7624 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006174/0.6845, allocations: 321.1 kB / 0.7627 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003965/0.6849, allocations: 31.69 kB / 0.7628 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.6849, allocations: 4 kB / 0.7628 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.004693/0.6896, allocations: 1.606 MB / 0.7643 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.6897, allocations: 85.11 kB / 0.7644 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.6918, allocations: 1.18 MB / 0.7656 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.6919, allocations: 37.69 kB / 0.7656 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.6924, allocations: 0.5083 MB / 0.7661 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6926, allocations: 122.2 kB / 0.7662 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.6926, allocations: 12 kB / 0.7662 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6928, allocations: 326 kB / 0.7665 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.6932, allocations: 212.9 kB / 0.7668 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006741/0.6939, allocations: 0.537 MB / 0.7673 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.6944, allocations: 313.6 kB / 0.7676 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6944, allocations: 4 kB / 0.7676 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002187/0.6966, allocations: 1.045 MB / 0.7686 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.6968, allocations: 283.5 kB / 0.7689 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6968, allocations: 4 kB / 0.7689 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.698, allocations: 336.4 kB / 0.7692 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.6984, allocations: 99.86 kB / 0.7693 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.6995, allocations: 1.01 MB / 0.7703 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009515/0.7005, allocations: 95.86 kB / 0.7704 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.7006, allocations: 24 kB / 0.7704 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.7006, allocations: 4 kB / 0.7704 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/0.702, allocations: 0.7829 MB / 0.7712 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.702, allocations: 12.09 kB / 0.7712 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.7026, allocations: 228.7 kB / 0.7714 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.703, allocations: 107.8 kB / 0.7715 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.7069, allocations: 2.948 MB / 0.7744 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.7082, allocations: 103.7 kB / 0.7745 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.7082, allocations: 23.98 kB / 0.7745 GB, free: 11.55 MB / 0.5919 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006843/0.7089, allocations: 472.7 kB / 0.7749 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.7091, allocations: 106.7 kB / 0.775 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.7104, allocations: 0.793 MB / 0.7758 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7104, allocations: 4 kB / 0.7758 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.7105, allocations: 0 / 0.7758 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7105, allocations: 3.984 kB / 0.7758 GB, free: 10.16 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.7133, allocations: 2.125 MB / 0.7779 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.7133, allocations: 7.984 kB / 0.7779 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.7136, allocations: 88.03 kB / 0.778 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.714, allocations: 168.6 kB / 0.7782 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.7141, allocations: 11.98 kB / 0.7782 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007299/0.7148, allocations: 0.8541 MB / 0.779 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7148, allocations: 7.938 kB / 0.779 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.7161, allocations: 0.8516 MB / 0.7798 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.7165, allocations: 235.7 kB / 0.7801 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.7166, allocations: 19.97 kB / 0.7801 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.7172, allocations: 75.77 kB / 0.7802 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.7173, allocations: 35.94 kB / 0.7802 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.7173, allocations: 12 kB / 0.7802 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001054/0.7184, allocations: 0.8288 MB / 0.781 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7184, allocations: 0 / 0.781 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001379/0.7198, allocations: 0.507 MB / 0.7815 GB, free: 4.109 MB / 0.5919 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000413/0.7202, allocations: 183.3 kB / 0.7817 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.7222, allocations: 1.131 MB / 0.7828 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7222, allocations: 4.062 kB / 0.7828 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.7226, allocations: 248.6 kB / 0.783 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/0.7258, allocations: 0.651 MB / 0.7837 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.7298, allocations: 2.116 MB / 0.7857 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.7311, allocations: 1.209 MB / 0.7869 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001278/0.7324, allocations: 364.4 kB / 0.7873 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.7326, allocations: 71.44 kB / 0.7873 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of SimCode: time 9.01e-07/0.7326, allocations: 0 / 0.7873 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of Templates: time 0.03651/0.7691, allocations: 20.82 MB / 0.8077 GB, free: 9.484 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)