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.0009379/0.0009376, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9673/0.9673, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 12.62 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1675, allocations: 82.32 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4545/0.622, allocations: 163.4 MB / 0.7481 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003635/0.6257, allocations: 2.187 MB / 0.7503 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.626, allocations: 14.75 kB / 0.7503 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.6267, allocations: 197.8 kB / 0.7505 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.6283, allocations: 0.6416 MB / 0.7511 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.6294, allocations: 394.9 kB / 0.7515 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003388/0.6328, allocations: 3.785 MB / 0.7552 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.6354, allocations: 2.363 MB / 0.7575 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.6376, allocations: 1.121 MB / 0.7586 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.6387, allocations: 0.8597 MB / 0.7594 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.6388, allocations: 47.94 kB / 0.7595 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.6404, allocations: 0.8964 MB / 0.7603 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.6408, allocations: 342.6 kB / 0.7607 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.6414, allocations: 0.5923 MB / 0.7612 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.6425, allocations: 1.165 MB / 0.7624 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6425, allocations: 0 / 0.7624 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6425, allocations: 0 / 0.7624 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.6426, allocations: 0 / 0.7624 GB, free: 10.6 MB / 0.5762 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.002311/0.6449, allocations: 1.483 MB / 0.7638 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.6449, allocations: 8.031 kB / 0.7638 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.6458, allocations: 200 kB / 0.764 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.647, allocations: 0.8657 MB / 0.7649 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.6471, allocations: 53.25 kB / 0.7649 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6472, allocations: 64 kB / 0.765 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.6487, allocations: 0.994 MB / 0.766 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.6487, allocations: 4 kB / 0.766 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.6488, allocations: 24 kB / 0.766 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.6488, allocations: 16 kB / 0.766 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.65, allocations: 0.8154 MB / 0.7668 GB, free: 5.895 MB / 0.5762 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.00441/0.6545, allocations: 4.813 MB / 0.7715 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.657, allocations: 4.02 MB / 0.7754 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.6575, allocations: 354.7 kB / 0.7758 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.6578, allocations: 198.5 kB / 0.776 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/0.6584, allocations: 333 kB / 0.7763 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003356/0.6587, allocations: 31.59 kB / 0.7763 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/0.6587, allocations: 0 / 0.7763 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.004663/0.6634, allocations: 1.609 MB / 0.7779 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.6635, allocations: 81.11 kB / 0.7779 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.665, allocations: 1.184 MB / 0.7791 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.6651, allocations: 37.7 kB / 0.7791 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/0.6656, allocations: 0.5161 MB / 0.7796 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.6657, allocations: 118.2 kB / 0.7798 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.6658, allocations: 53.62 kB / 0.7798 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.6659, allocations: 326 kB / 0.7801 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.6663, allocations: 232.9 kB / 0.7803 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.6669, allocations: 0.5683 MB / 0.7809 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.6679, allocations: 0.6906 MB / 0.7816 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.6679, allocations: 0 / 0.7816 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002275/0.6702, allocations: 1.123 MB / 0.7827 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.6704, allocations: 283 kB / 0.7829 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.6704, allocations: 8 kB / 0.7829 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.6715, allocations: 344.5 kB / 0.7833 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.672, allocations: 103.9 kB / 0.7834 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009918/0.673, allocations: 1.015 MB / 0.7844 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.6739, allocations: 90.7 kB / 0.7845 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.674, allocations: 24 kB / 0.7845 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.674, allocations: 6.812 kB / 0.7845 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/0.6754, allocations: 0.7941 MB / 0.7853 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6754, allocations: 7.984 kB / 0.7853 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.6759, allocations: 225.2 kB / 0.7855 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.6763, allocations: 103.8 kB / 0.7856 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.6796, allocations: 2.915 MB / 0.7884 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009728/0.6806, allocations: 95.8 kB / 0.7885 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.6806, allocations: 24 kB / 0.7885 GB, free: 13.84 MB / 0.6075 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 (38): * Single equations (assignments): 36 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0005627/0.6812, allocations: 480.7 kB / 0.789 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6813, allocations: 114.6 kB / 0.7891 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.6827, allocations: 0.7776 MB / 0.7899 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.6827, allocations: 4 kB / 0.7899 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.6827, allocations: 3.984 kB / 0.7899 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6827, allocations: 0 / 0.7899 GB, free: 12.45 MB / 0.6075 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.002721/0.6855, allocations: 2.125 MB / 0.7919 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6855, allocations: 0 / 0.7919 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.6858, allocations: 80.14 kB / 0.792 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/0.6862, allocations: 184.5 kB / 0.7922 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6862, allocations: 8 kB / 0.7922 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000679/0.6869, allocations: 0.8566 MB / 0.793 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6869, allocations: 7.969 kB / 0.7931 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.6882, allocations: 0.8672 MB / 0.7939 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.6886, allocations: 227.7 kB / 0.7941 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6887, allocations: 12 kB / 0.7941 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/0.6893, allocations: 71.84 kB / 0.7942 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.6894, allocations: 31.91 kB / 0.7942 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.6894, allocations: 12 kB / 0.7942 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001042/0.6905, allocations: 0.8405 MB / 0.7951 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6905, allocations: 0 / 0.7951 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001359/0.6919, allocations: 0.4992 MB / 0.7955 GB, free: 6.402 MB / 0.6075 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 (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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004618/0.6923, allocations: 185.9 kB / 0.7957 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.6944, allocations: 1.155 MB / 0.7969 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6945, allocations: 0 / 0.7969 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.6949, allocations: 249.1 kB / 0.7971 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/0.6985, allocations: 0.6437 MB / 0.7977 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.7015, allocations: 2.262 MB / 0.7999 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.7023, allocations: 1.205 MB / 0.8011 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.7024, allocations: 75.44 kB / 0.8012 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.7024, allocations: 0 / 0.8012 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of Templates: time 0.03049/0.7329, allocations: 22.45 MB / 0.8231 GB, free: 10.21 MB / 0.6387 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)