Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 98.88 kB / 16.02 MB, free: 76 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.001126/0.001125, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.955/0.955, allocations: 135.3 MB / 427.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 8.562 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 82.31 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.4445/0.619, allocations: 163.3 MB / 0.7481 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004439/0.6235, allocations: 2.193 MB / 0.7503 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/0.6242, allocations: 15.31 kB / 0.7503 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008854/0.6251, allocations: 196.9 kB / 0.7505 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.6274, allocations: 0.6421 MB / 0.7511 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.6289, allocations: 390.4 kB / 0.7515 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004248/0.6332, allocations: 3.797 MB / 0.7552 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/0.6362, allocations: 2.358 MB / 0.7575 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.6389, allocations: 1.117 MB / 0.7586 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.6406, allocations: 0.8635 MB / 0.7594 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.6409, allocations: 48 kB / 0.7595 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.643, allocations: 0.8964 MB / 0.7603 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005397/0.6436, allocations: 334.7 kB / 0.7607 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.6448, allocations: 0.6001 MB / 0.7612 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.6465, allocations: 1.154 MB / 0.7624 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6465, allocations: 0 / 0.7624 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6465, allocations: 4 kB / 0.7624 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.552e-05/0.6466, allocations: 0 / 0.7624 GB, free: 10.63 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.003145/0.6498, allocations: 1.475 MB / 0.7638 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.6498, allocations: 8.031 kB / 0.7638 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6509, allocations: 206.3 kB / 0.764 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.6527, allocations: 0.8695 MB / 0.7649 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.6528, allocations: 57.19 kB / 0.7649 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.6529, allocations: 64 kB / 0.765 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.6546, allocations: 0.9909 MB / 0.766 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.6546, allocations: 0 / 0.766 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.6547, allocations: 28 kB / 0.766 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.6547, allocations: 15.94 kB / 0.766 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.6561, allocations: 0.8116 MB / 0.7668 GB, free: 5.926 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.005544/0.6617, allocations: 4.821 MB / 0.7715 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.664, allocations: 4.015 MB / 0.7754 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.6645, allocations: 349.7 kB / 0.7758 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.6649, allocations: 194.5 kB / 0.7759 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.6654, allocations: 336 kB / 0.7763 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004588/0.6659, allocations: 35.59 kB / 0.7763 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 3.307e-06/0.6659, allocations: 0 / 0.7763 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.004792/0.6707, allocations: 1.514 MB / 0.7778 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.6708, allocations: 81.11 kB / 0.7778 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.6726, allocations: 1.18 MB / 0.779 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.6727, allocations: 41.69 kB / 0.779 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/0.6732, allocations: 0.5083 MB / 0.7795 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6734, allocations: 122.2 kB / 0.7797 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.6734, allocations: 45.69 kB / 0.7797 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6736, allocations: 330 kB / 0.78 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.674, allocations: 232.9 kB / 0.7802 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.6747, allocations: 0.5682 MB / 0.7808 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.6757, allocations: 0.6945 MB / 0.7815 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.6757, allocations: 0 / 0.7815 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002514/0.6782, allocations: 1.119 MB / 0.7826 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.6785, allocations: 279.5 kB / 0.7828 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6785, allocations: 4 kB / 0.7828 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.6799, allocations: 412.4 kB / 0.7832 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.6805, allocations: 123.8 kB / 0.7833 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.6823, allocations: 1.653 MB / 0.785 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.6834, allocations: 91.91 kB / 0.785 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.6835, allocations: 27.98 kB / 0.7851 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6835, allocations: 7.938 kB / 0.7851 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/0.685, allocations: 0.7919 MB / 0.7858 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.685, allocations: 4 kB / 0.7859 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.6855, allocations: 210.6 kB / 0.7861 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.686, allocations: 112.1 kB / 0.7862 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.6896, allocations: 2.926 MB / 0.789 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.6908, allocations: 91.89 kB / 0.7891 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/0.6909, allocations: 24 kB / 0.7891 GB, free: 13.23 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): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007256/0.6916, allocations: 489.8 kB / 0.7896 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.6919, allocations: 106.7 kB / 0.7897 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.6934, allocations: 0.7854 MB / 0.7905 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.6935, allocations: 4 kB / 0.7905 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6935, allocations: 3.938 kB / 0.7905 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6935, allocations: 4 kB / 0.7905 GB, free: 11.83 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.003239/0.6967, allocations: 2.11 MB / 0.7925 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6968, allocations: 0 / 0.7925 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.6972, allocations: 100 kB / 0.7926 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.6976, allocations: 192.6 kB / 0.7928 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.6976, allocations: 12 kB / 0.7928 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.6988, allocations: 1.472 MB / 0.7943 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6988, allocations: 4.031 kB / 0.7943 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.7002, allocations: 0.8672 MB / 0.7951 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.7007, allocations: 231.7 kB / 0.7953 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.7009, allocations: 12 kB / 0.7953 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/0.7017, allocations: 75.77 kB / 0.7954 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.7018, allocations: 31.89 kB / 0.7955 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.7018, allocations: 20.12 kB / 0.7955 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001177/0.703, allocations: 0.8327 MB / 0.7963 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.703, allocations: 3.938 kB / 0.7963 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001533/0.7045, allocations: 0.5031 MB / 0.7968 GB, free: 5.117 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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(9,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004907/0.705, allocations: 183.9 kB / 0.797 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.7079, allocations: 1.3 MB / 0.7982 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.708, allocations: 0 / 0.7982 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007611/0.7087, allocations: 320.9 kB / 0.7985 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/0.7128, allocations: 0.6446 MB / 0.7992 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.7167, allocations: 2.349 MB / 0.8015 GB, free: 256 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009291/0.7176, allocations: 1.213 MB / 0.8026 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.7178, allocations: 67.44 kB / 0.8027 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of SimCode: time 8.91e-07/0.7178, allocations: 0 / 0.8027 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of Templates: time 0.03758/0.7554, allocations: 27.94 MB / 0.83 GB, free: 3.121 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)