Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001325/0.001325, allocations: 172.7 kB / 15.95 MB, free: 208 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.428/1.428, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9427/0.9427, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004053, allocations: 11.94 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1671, allocations: 82.31 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.4594/0.6265, allocations: 152.4 MB / 0.7362 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00887/0.6355, allocations: 3.802 MB / 0.7399 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009099/0.6364, allocations: 16.62 kB / 0.7399 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.6376, allocations: 157.4 kB / 0.7401 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.6405, allocations: 0.4995 MB / 0.7405 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.6431, allocations: 407.1 kB / 0.7409 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006184/0.6493, allocations: 3.276 MB / 0.7441 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004657/0.654, allocations: 2.293 MB / 0.7464 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.6575, allocations: 1.055 MB / 0.7474 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.6597, allocations: 0.8536 MB / 0.7482 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.6601, allocations: 47.41 kB / 0.7483 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.6619, allocations: 0.5979 MB / 0.7489 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006275/0.6626, allocations: 326.8 kB / 0.7492 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005979/0.6632, allocations: 245.1 kB / 0.7494 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.6654, allocations: 1.177 MB / 0.7506 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6655, allocations: 4 kB / 0.7506 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6655, allocations: 0 / 0.7506 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.827e-05/0.6655, allocations: 0 / 0.7506 GB, free: 5.934 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.003872/0.6694, allocations: 1.522 MB / 0.752 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.6695, allocations: 12.03 kB / 0.7521 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.6707, allocations: 202.3 kB / 0.7523 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.6729, allocations: 0.8718 MB / 0.7531 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/0.673, allocations: 49.31 kB / 0.7531 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.6732, allocations: 60 kB / 0.7532 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.6754, allocations: 0.9909 MB / 0.7542 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.6754, allocations: 3.938 kB / 0.7542 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.6755, allocations: 24 kB / 0.7542 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.6756, allocations: 15.94 kB / 0.7542 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.6776, allocations: 0.8155 MB / 0.755 GB, free: 1.188 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.00674/0.6843, allocations: 4.806 MB / 0.7597 GB, free: 12.04 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.6869, allocations: 4.027 MB / 0.7636 GB, free: 7.184 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.6874, allocations: 354.2 kB / 0.764 GB, free: 6.836 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.6877, allocations: 198.5 kB / 0.7642 GB, free: 6.605 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/0.6883, allocations: 321.1 kB / 0.7645 GB, free: 6.273 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003374/0.6886, allocations: 31.67 kB / 0.7645 GB, free: 6.242 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=35): time 2.305e-06/0.6886, allocations: 4 kB / 0.7645 GB, free: 6.238 MB / 0.5763 GB Notification: Performance of matching and sorting (n=35): time 0.004997/0.6937, allocations: 1.688 MB / 0.7662 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.6937, allocations: 89.03 kB / 0.7662 GB, free: 4.418 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.6953, allocations: 1.177 MB / 0.7674 GB, free: 3.227 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.6954, allocations: 41.7 kB / 0.7674 GB, free: 3.18 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.6958, allocations: 0.5159 MB / 0.7679 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.696, allocations: 122.3 kB / 0.768 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.696, allocations: 12 kB / 0.7681 GB, free: 2.527 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6961, allocations: 337.9 kB / 0.7684 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.6965, allocations: 205 kB / 0.7686 GB, free: 1.992 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.6972, allocations: 0.5331 MB / 0.7691 GB, free: 1.32 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.6977, allocations: 321.8 kB / 0.7694 GB, free: 1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6977, allocations: 4 kB / 0.7694 GB, free: 0.9961 MB / 0.5763 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002438/0.7001, allocations: 1.076 MB / 0.7705 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.7004, allocations: 277.4 kB / 0.7707 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.7004, allocations: 8 kB / 0.7707 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.7019, allocations: 438 kB / 0.7712 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.7022, allocations: 79.83 kB / 0.7712 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.7037, allocations: 1.128 MB / 0.7723 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009924/0.7047, allocations: 99.73 kB / 0.7724 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.7048, allocations: 24 kB / 0.7724 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.7048, allocations: 4 kB / 0.7725 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001555/0.7064, allocations: 0.8136 MB / 0.7732 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7064, allocations: 4.625 kB / 0.7732 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.707, allocations: 256.6 kB / 0.7735 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.7073, allocations: 75.83 kB / 0.7736 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/0.7114, allocations: 3.151 MB / 0.7766 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/0.7123, allocations: 99.91 kB / 0.7767 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.7124, allocations: 23.94 kB / 0.7768 GB, free: 9.203 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005841/0.713, allocations: 480.7 kB / 0.7772 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.7131, allocations: 106.7 kB / 0.7773 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.7147, allocations: 0.8205 MB / 0.7781 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.7147, allocations: 7.984 kB / 0.7781 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7147, allocations: 4 kB / 0.7781 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.7147, allocations: 0 / 0.7781 GB, free: 7.773 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.002963/0.7177, allocations: 2.164 MB / 0.7802 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.7177, allocations: 3.984 kB / 0.7803 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.7179, allocations: 47.91 kB / 0.7803 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/0.7184, allocations: 244.8 kB / 0.7805 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.7185, allocations: 8 kB / 0.7805 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008782/0.7193, allocations: 0.9381 MB / 0.7815 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7194, allocations: 0 / 0.7815 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.7207, allocations: 0.8905 MB / 0.7823 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.721, allocations: 231.7 kB / 0.7825 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.7211, allocations: 15.94 kB / 0.7826 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.7218, allocations: 79.77 kB / 0.7826 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.7219, allocations: 35.89 kB / 0.7827 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.7219, allocations: 15.98 kB / 0.7827 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001016/0.7229, allocations: 0.825 MB / 0.7835 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.324e-06/0.7229, allocations: 112 / 0.7835 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001306/0.7242, allocations: 0.5148 MB / 0.784 GB, free: 1.539 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003827/0.7246, allocations: 179.9 kB / 0.7842 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002397/0.727, allocations: 1.281 MB / 0.7854 GB, free: 48 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.727, allocations: 0 / 0.7854 GB, free: 48 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.7277, allocations: 325.1 kB / 0.7857 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/0.7306, allocations: 0.6601 MB / 0.7864 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.7334, allocations: 2.223 MB / 0.7885 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.7342, allocations: 1.213 MB / 0.7897 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009484/0.7352, allocations: 328.6 kB / 0.79 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.7353, allocations: 71.44 kB / 0.7901 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.7354, allocations: 0 / 0.7901 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.0333/0.7687, allocations: 20.8 MB / 0.8104 GB, free: 6.617 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)