Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005865/0.005866, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7984/0.7984, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005158, allocations: 12.56 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4452, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1926/0.6378, allocations: 163.4 MB / 0.7432 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006147/0.644, allocations: 4.049 MB / 0.7471 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006157/0.6446, allocations: 15.88 kB / 0.7472 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.6454, allocations: 202.9 kB / 0.7474 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.6475, allocations: 0.6342 MB / 0.748 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.6489, allocations: 431.7 kB / 0.7484 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004004/0.6529, allocations: 3.814 MB / 0.7521 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.6561, allocations: 2.367 MB / 0.7544 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.6586, allocations: 1.117 MB / 0.7555 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.6601, allocations: 0.8635 MB / 0.7564 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.6604, allocations: 48 kB / 0.7564 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.6623, allocations: 0.8964 MB / 0.7573 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005225/0.6629, allocations: 334.7 kB / 0.7576 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.6641, allocations: 0.6001 MB / 0.7582 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.6661, allocations: 1.581 MB / 0.7597 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.6661, allocations: 4 kB / 0.7597 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6662, allocations: 0 / 0.7597 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.6662, allocations: 0 / 0.7597 GB, free: 11.52 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00289/0.6691, allocations: 1.468 MB / 0.7612 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.6691, allocations: 16.03 kB / 0.7612 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008623/0.67, allocations: 198.3 kB / 0.7614 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6713, allocations: 0.8889 MB / 0.7622 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.6714, allocations: 45.31 kB / 0.7623 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.6716, allocations: 71.94 kB / 0.7623 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.6731, allocations: 0.9948 MB / 0.7633 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.6731, allocations: 0 / 0.7633 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.6732, allocations: 28 kB / 0.7633 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.6732, allocations: 16 kB / 0.7634 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.6745, allocations: 0.8076 MB / 0.7641 GB, free: 6.805 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 preOpt removeSimpleEquations (simulation): time 0.004871/0.6794, allocations: 4.8 MB / 0.7688 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.6821, allocations: 4.025 MB / 0.7728 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.6826, allocations: 350 kB / 0.7731 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.6829, allocations: 194.5 kB / 0.7733 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005609/0.6835, allocations: 333 kB / 0.7736 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003911/0.6839, allocations: 27.69 kB / 0.7736 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.6839, allocations: 3.938 kB / 0.7736 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.005497/0.6894, allocations: 1.774 MB / 0.7754 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.6895, allocations: 85.11 kB / 0.7754 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.6912, allocations: 1.185 MB / 0.7766 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.6913, allocations: 41.69 kB / 0.7766 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.6917, allocations: 0.5082 MB / 0.7771 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.6919, allocations: 130.2 kB / 0.7773 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.6919, allocations: 45.69 kB / 0.7773 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6921, allocations: 325.9 kB / 0.7776 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.6925, allocations: 236.9 kB / 0.7778 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.6932, allocations: 0.5659 MB / 0.7784 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6942, allocations: 0.6878 MB / 0.7791 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.6943, allocations: 4 kB / 0.7791 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002475/0.6967, allocations: 1.154 MB / 0.7802 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.6969, allocations: 271 kB / 0.7805 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.697, allocations: 4 kB / 0.7805 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.6984, allocations: 392.4 kB / 0.7808 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.6987, allocations: 79.88 kB / 0.7809 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.6998, allocations: 1.055 MB / 0.7819 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.7009, allocations: 87.88 kB / 0.782 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.7009, allocations: 28 kB / 0.7821 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.7009, allocations: 6.188 kB / 0.7821 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/0.7025, allocations: 0.815 MB / 0.7829 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7025, allocations: 8 kB / 0.7829 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.7031, allocations: 248.8 kB / 0.7831 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.7035, allocations: 79.81 kB / 0.7832 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.7074, allocations: 3.11 MB / 0.7862 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.7085, allocations: 95.75 kB / 0.7863 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.7085, allocations: 24 kB / 0.7863 GB, free: 14.29 MB / 0.6231 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006563/0.7092, allocations: 488.5 kB / 0.7868 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.7093, allocations: 110.7 kB / 0.7869 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.7109, allocations: 0.8165 MB / 0.7877 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.7109, allocations: 4 kB / 0.7877 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.7109, allocations: 0 / 0.7877 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.7109, allocations: 3.984 kB / 0.7877 GB, free: 12.86 MB / 0.6231 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.003038/0.714, allocations: 2.164 MB / 0.7898 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/0.714, allocations: 4 kB / 0.7898 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.7143, allocations: 51.83 kB / 0.7899 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.7148, allocations: 208.9 kB / 0.7901 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.7148, allocations: 12 kB / 0.7901 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007585/0.7156, allocations: 0.8878 MB / 0.7909 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7156, allocations: 0 / 0.7909 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.7169, allocations: 0.8862 MB / 0.7918 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.7173, allocations: 235.7 kB / 0.792 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.7175, allocations: 8 kB / 0.792 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.7182, allocations: 71.81 kB / 0.7921 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.7183, allocations: 31.91 kB / 0.7921 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.7183, allocations: 19.98 kB / 0.7922 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001115/0.7194, allocations: 0.8328 MB / 0.793 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7195, allocations: 0 / 0.793 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001426/0.7209, allocations: 0.5032 MB / 0.7935 GB, free: 6.715 MB / 0.6231 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004425/0.7213, allocations: 180.5 kB / 0.7936 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.7235, allocations: 1.174 MB / 0.7948 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7235, allocations: 0 / 0.7948 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.724, allocations: 257.6 kB / 0.795 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003733/0.7277, allocations: 0.6468 MB / 0.7957 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.7308, allocations: 2.199 MB / 0.7978 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.7316, allocations: 1.209 MB / 0.799 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001178/0.7328, allocations: 376.6 kB / 0.7994 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.7329, allocations: 67.44 kB / 0.7994 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of SimCode: time 6.12e-07/0.733, allocations: 4 kB / 0.7994 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of Templates: time 0.3115/1.044, allocations: 21.66 MB / 0.8206 GB, free: 217.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)