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.0009132/0.0009135, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001273/0.001272, allocations: 179 kB / 16.27 MB, free: 6.664 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9587/0.9587, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 8.812 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1685, allocations: 82.3 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.5248/0.6933, allocations: 163.4 MB / 0.7475 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004995/0.6984, allocations: 2.188 MB / 0.7496 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.6992, allocations: 14.75 kB / 0.7496 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.7002, allocations: 200.7 kB / 0.7498 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.7027, allocations: 0.642 MB / 0.7505 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.7044, allocations: 389.8 kB / 0.7508 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005988/0.7104, allocations: 3.799 MB / 0.7545 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003585/0.714, allocations: 2.356 MB / 0.7568 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003181/0.7172, allocations: 1.113 MB / 0.7579 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.719, allocations: 0.8713 MB / 0.7588 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.7193, allocations: 48 kB / 0.7588 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.7216, allocations: 0.8925 MB / 0.7597 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006074/0.7222, allocations: 334.8 kB / 0.76 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.7234, allocations: 0.5962 MB / 0.7606 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.7259, allocations: 1.577 MB / 0.7621 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7259, allocations: 4 kB / 0.7621 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7259, allocations: 0 / 0.7621 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.361e-05/0.726, allocations: 0 / 0.7621 GB, free: 10.14 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.003038/0.7291, allocations: 1.485 MB / 0.7636 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7291, allocations: 8.031 kB / 0.7636 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009964/0.7301, allocations: 198.3 kB / 0.7638 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.7317, allocations: 0.8696 MB / 0.7646 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.7318, allocations: 61.25 kB / 0.7647 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.7319, allocations: 64 kB / 0.7648 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.7335, allocations: 1.005 MB / 0.7657 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7336, allocations: 0 / 0.7657 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.7336, allocations: 24 kB / 0.7658 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.7337, allocations: 12 kB / 0.7658 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.735, allocations: 0.8038 MB / 0.7666 GB, free: 5.43 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.00555/0.7406, allocations: 4.813 MB / 0.7713 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.7437, allocations: 4.03 MB / 0.7752 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/0.7443, allocations: 346.7 kB / 0.7755 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.7446, allocations: 194.5 kB / 0.7757 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006197/0.7453, allocations: 336 kB / 0.776 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003339/0.7456, allocations: 31.59 kB / 0.7761 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.7456, allocations: 0 / 0.7761 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.004821/0.7504, allocations: 1.612 MB / 0.7776 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.7505, allocations: 85.11 kB / 0.7777 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.7523, allocations: 1.184 MB / 0.7789 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.7524, allocations: 45.7 kB / 0.7789 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.7529, allocations: 0.5044 MB / 0.7794 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.7531, allocations: 126.2 kB / 0.7795 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.7532, allocations: 45.7 kB / 0.7796 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7533, allocations: 326 kB / 0.7799 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.7537, allocations: 236.9 kB / 0.7801 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.7544, allocations: 0.5644 MB / 0.7807 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.7554, allocations: 0.6906 MB / 0.7813 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7554, allocations: 0 / 0.7813 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002527/0.758, allocations: 1.119 MB / 0.7824 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.7582, allocations: 283.3 kB / 0.7827 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.7582, allocations: 4 kB / 0.7827 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.7594, allocations: 348.5 kB / 0.783 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.7598, allocations: 103.9 kB / 0.7831 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.761, allocations: 1.014 MB / 0.7841 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/0.762, allocations: 83.97 kB / 0.7842 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.762, allocations: 27.98 kB / 0.7842 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7621, allocations: 4 kB / 0.7842 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/0.7635, allocations: 0.7944 MB / 0.785 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7635, allocations: 4.047 kB / 0.785 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.7641, allocations: 237.2 kB / 0.7852 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.7644, allocations: 107.8 kB / 0.7853 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.7681, allocations: 2.906 MB / 0.7882 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7691, allocations: 99.81 kB / 0.7883 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.7692, allocations: 24 kB / 0.7883 GB, free: 13.36 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.0006051/0.7698, allocations: 476.7 kB / 0.7888 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.77, allocations: 110.6 kB / 0.7889 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.7715, allocations: 0.7814 MB / 0.7896 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.7715, allocations: 4 kB / 0.7896 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.7715, allocations: 7.938 kB / 0.7896 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7715, allocations: 4 kB / 0.7896 GB, free: 11.97 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.003202/0.7747, allocations: 2.117 MB / 0.7917 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.7748, allocations: 0 / 0.7917 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.7751, allocations: 71.94 kB / 0.7918 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/0.7755, allocations: 180.6 kB / 0.7919 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.7755, allocations: 16.17 kB / 0.792 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008217/0.7763, allocations: 0.8527 MB / 0.7928 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/0.7764, allocations: 11.92 kB / 0.7928 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.7781, allocations: 0.8633 MB / 0.7937 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/0.7788, allocations: 231.7 kB / 0.7939 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.7791, allocations: 11.98 kB / 0.7939 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009454/0.7801, allocations: 71.8 kB / 0.794 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7802, allocations: 31.91 kB / 0.794 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.7802, allocations: 15.98 kB / 0.794 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001602/0.7819, allocations: 0.8327 MB / 0.7948 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7819, allocations: 0 / 0.7948 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002103/0.784, allocations: 0.5031 MB / 0.7953 GB, free: 5.934 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.0007628/0.7847, allocations: 192.9 kB / 0.7955 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003313/0.7881, allocations: 1.155 MB / 0.7966 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.7881, allocations: 4 kB / 0.7966 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.7886, allocations: 257.1 kB / 0.7969 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/0.7927, allocations: 0.6478 MB / 0.7975 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.7964, allocations: 2.199 MB / 0.7996 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009378/0.7973, allocations: 1.216 MB / 0.8008 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001224/0.7986, allocations: 392.6 kB / 0.8012 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.7988, allocations: 63.44 kB / 0.8013 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of SimCode: time 2.315e-06/0.7988, allocations: 0 / 0.8013 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of Templates: time 0.03845/0.8372, allocations: 21.34 MB / 0.8221 GB, free: 10.64 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)