Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009852/0.0009853, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001114/0.001114, allocations: 168.7 kB / 15.95 MB, free: 204 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.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9592/0.9592, allocations: 135.3 MB / 426.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 12 kB / 0.507 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1702, allocations: 82.31 MB / 0.5874 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4517/0.622, allocations: 152.4 MB / 0.7362 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005992/0.628, allocations: 3.801 MB / 0.7399 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.6287, allocations: 15.03 kB / 0.7399 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.6294, allocations: 159.5 kB / 0.7401 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.6311, allocations: 0.5031 MB / 0.7406 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.6325, allocations: 406.4 kB / 0.7409 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.6364, allocations: 3.265 MB / 0.7441 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/0.6395, allocations: 2.294 MB / 0.7464 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.6421, allocations: 1.069 MB / 0.7474 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.6436, allocations: 0.842 MB / 0.7482 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.6438, allocations: 50.62 kB / 0.7483 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.6454, allocations: 0.592 MB / 0.7489 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.6458, allocations: 334.8 kB / 0.7492 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.6463, allocations: 249.1 kB / 0.7494 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.6476, allocations: 1.173 MB / 0.7506 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6476, allocations: 0 / 0.7506 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-05/0.6477, allocations: 0 / 0.7506 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.6477, allocations: 7.938 kB / 0.7506 GB, free: 5.879 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002351/0.65, allocations: 1.514 MB / 0.7521 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6501, allocations: 16.02 kB / 0.7521 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007684/0.6509, allocations: 202.2 kB / 0.7523 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.6523, allocations: 0.8757 MB / 0.7531 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.6524, allocations: 45.31 kB / 0.7532 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6525, allocations: 67.98 kB / 0.7532 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.654, allocations: 0.9909 MB / 0.7542 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.654, allocations: 3.938 kB / 0.7542 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.6541, allocations: 24 kB / 0.7542 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.6541, allocations: 19.94 kB / 0.7542 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.6554, allocations: 0.7999 MB / 0.755 GB, free: 1.141 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.004584/0.66, allocations: 4.817 MB / 0.7597 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.6625, allocations: 4.011 MB / 0.7636 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.663, allocations: 351.2 kB / 0.764 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.6633, allocations: 206.4 kB / 0.7642 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005233/0.6639, allocations: 329.1 kB / 0.7645 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003621/0.6642, allocations: 35.69 kB / 0.7645 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.6642, allocations: 0 / 0.7645 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.004774/0.669, allocations: 1.749 MB / 0.7662 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.6691, allocations: 85.09 kB / 0.7663 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.6705, allocations: 1.177 MB / 0.7675 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.6706, allocations: 37.7 kB / 0.7675 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.671, allocations: 0.5197 MB / 0.768 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6711, allocations: 126.3 kB / 0.7681 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.6712, allocations: 12 kB / 0.7681 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6713, allocations: 330 kB / 0.7685 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.6717, allocations: 205 kB / 0.7686 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.6723, allocations: 0.537 MB / 0.7692 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.6727, allocations: 317.6 kB / 0.7695 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6728, allocations: 0 / 0.7695 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002134/0.6749, allocations: 1.073 MB / 0.7705 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.6751, allocations: 278.9 kB / 0.7708 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6751, allocations: 8 kB / 0.7708 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.6764, allocations: 373.7 kB / 0.7712 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.6767, allocations: 79.88 kB / 0.7712 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.6778, allocations: 1.06 MB / 0.7723 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/0.6786, allocations: 95.88 kB / 0.7724 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.6787, allocations: 35.92 kB / 0.7724 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.6787, allocations: 4 kB / 0.7724 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001423/0.6802, allocations: 0.81 MB / 0.7732 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6802, allocations: 8 kB / 0.7732 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/0.6808, allocations: 260.8 kB / 0.7734 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.6811, allocations: 75.88 kB / 0.7735 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/0.6848, allocations: 3.134 MB / 0.7766 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/0.6857, allocations: 99.8 kB / 0.7767 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.6858, allocations: 24 kB / 0.7767 GB, free: 9.23 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 (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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005929/0.6864, allocations: 476.7 kB / 0.7771 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.6865, allocations: 106.7 kB / 0.7772 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.6879, allocations: 0.8242 MB / 0.7781 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6879, allocations: 4 kB / 0.7781 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.6879, allocations: 0 / 0.7781 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6879, allocations: 0 / 0.7781 GB, free: 7.809 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.002972/0.6909, allocations: 2.164 MB / 0.7802 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6909, allocations: 7.953 kB / 0.7802 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.6912, allocations: 44.19 kB / 0.7802 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.6917, allocations: 216.6 kB / 0.7804 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.6917, allocations: 8 kB / 0.7804 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008043/0.6925, allocations: 0.8795 MB / 0.7813 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.6925, allocations: 3.938 kB / 0.7813 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.6938, allocations: 0.8945 MB / 0.7822 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.6942, allocations: 243.6 kB / 0.7824 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.6943, allocations: 11.95 kB / 0.7824 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006054/0.6949, allocations: 71.84 kB / 0.7825 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.695, allocations: 32.06 kB / 0.7825 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.6951, allocations: 19.97 kB / 0.7825 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001163/0.6962, allocations: 0.8289 MB / 0.7833 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6962, allocations: 0 / 0.7833 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001488/0.6977, allocations: 0.5071 MB / 0.7838 GB, free: 1.66 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 (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004406/0.6982, allocations: 185.3 kB / 0.784 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.7001, allocations: 1.131 MB / 0.7851 GB, free: 328 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7001, allocations: 0 / 0.7851 GB, free: 328 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.7005, allocations: 271.5 kB / 0.7854 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.7035, allocations: 0.6598 MB / 0.786 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.7067, allocations: 2.101 MB / 0.7881 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/0.7076, allocations: 1.213 MB / 0.7893 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001102/0.7087, allocations: 324.6 kB / 0.7896 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.7088, allocations: 71.42 kB / 0.7896 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of SimCode: time 9.21e-07/0.7088, allocations: 0 / 0.7896 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.03524/0.7441, allocations: 21.12 MB / 0.8103 GB, free: 6.777 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)