Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009621/0.0009624, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006597/0.006597, allocations: 171.5 kB / 16.26 MB, free: 6.613 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 / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 8.75 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4423, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1994/0.6417, allocations: 163.3 MB / 0.7432 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.6483, allocations: 4.048 MB / 0.7471 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008039/0.6492, allocations: 11.94 kB / 0.7472 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009106/0.6501, allocations: 202.9 kB / 0.7473 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.6524, allocations: 0.6303 MB / 0.748 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.6539, allocations: 447 kB / 0.7484 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004101/0.658, allocations: 3.803 MB / 0.7521 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.661, allocations: 2.371 MB / 0.7544 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.6636, allocations: 1.113 MB / 0.7555 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.6648, allocations: 0.8673 MB / 0.7564 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.6649, allocations: 48 kB / 0.7564 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.6667, allocations: 0.8964 MB / 0.7573 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.6671, allocations: 326.7 kB / 0.7576 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007219/0.6678, allocations: 0.604 MB / 0.7582 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.6698, allocations: 1.577 MB / 0.7597 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6698, allocations: 3.938 kB / 0.7597 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6698, allocations: 0 / 0.7597 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.6698, allocations: 0 / 0.7597 GB, free: 11.56 MB / 0.5919 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.002519/0.6723, allocations: 1.471 MB / 0.7612 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6724, allocations: 8.031 kB / 0.7612 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008277/0.6732, allocations: 210.3 kB / 0.7614 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.6745, allocations: 0.885 MB / 0.7622 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.6746, allocations: 49.31 kB / 0.7623 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.6747, allocations: 64 kB / 0.7623 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6762, allocations: 0.9987 MB / 0.7633 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6762, allocations: 4 kB / 0.7633 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.6763, allocations: 24 kB / 0.7633 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.6763, allocations: 12 kB / 0.7634 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.6777, allocations: 0.8115 MB / 0.7641 GB, free: 6.836 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 preOpt removeSimpleEquations (simulation): time 0.005246/0.6829, allocations: 4.796 MB / 0.7688 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.6858, allocations: 4.033 MB / 0.7728 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.6864, allocations: 350 kB / 0.7731 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.6867, allocations: 186.5 kB / 0.7733 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005621/0.6872, allocations: 333 kB / 0.7736 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003932/0.6877, allocations: 31.69 kB / 0.7736 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 4.318e-06/0.6877, allocations: 4 kB / 0.7736 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.005549/0.6932, allocations: 1.704 MB / 0.7753 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.6933, allocations: 89.05 kB / 0.7754 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.6949, allocations: 1.189 MB / 0.7765 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.695, allocations: 33.7 kB / 0.7766 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.6954, allocations: 0.5121 MB / 0.7771 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.6956, allocations: 126.2 kB / 0.7772 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.6956, allocations: 45.7 kB / 0.7772 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.6959, allocations: 333.9 kB / 0.7776 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.6963, allocations: 236.9 kB / 0.7778 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/0.6971, allocations: 0.5581 MB / 0.7783 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.6981, allocations: 0.6958 MB / 0.779 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6981, allocations: 4 kB / 0.779 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002605/0.7007, allocations: 1.15 MB / 0.7801 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.7009, allocations: 279.5 kB / 0.7804 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.701, allocations: 4 kB / 0.7804 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.7025, allocations: 459.6 kB / 0.7808 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.7029, allocations: 75.83 kB / 0.7809 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.7046, allocations: 1.126 MB / 0.782 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.7057, allocations: 91.62 kB / 0.7821 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.7057, allocations: 32.09 kB / 0.7821 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7057, allocations: 3.938 kB / 0.7821 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001605/0.7074, allocations: 0.8135 MB / 0.7829 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.7074, allocations: 8 kB / 0.7829 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.708, allocations: 237.2 kB / 0.7832 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.7083, allocations: 79.83 kB / 0.7832 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.7124, allocations: 3.114 MB / 0.7863 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7135, allocations: 95.81 kB / 0.7864 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.7136, allocations: 24 kB / 0.7864 GB, free: 14.25 MB / 0.6231 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 (35): * Single equations (assignments): 33 * 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007357/0.7144, allocations: 480.6 kB / 0.7869 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.7146, allocations: 106.7 kB / 0.787 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.7163, allocations: 0.8243 MB / 0.7878 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7163, allocations: 4 kB / 0.7878 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.7163, allocations: 192 / 0.7878 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.7164, allocations: 3.984 kB / 0.7878 GB, free: 12.82 MB / 0.6231 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.003474/0.7198, allocations: 2.164 MB / 0.7899 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7199, allocations: 0 / 0.7899 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.7201, allocations: 56.11 kB / 0.7899 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.7207, allocations: 236.6 kB / 0.7902 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.7208, allocations: 19.88 kB / 0.7902 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.7219, allocations: 0.9494 MB / 0.7911 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.7219, allocations: 4 kB / 0.7911 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.7236, allocations: 0.8744 MB / 0.792 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/0.7244, allocations: 235.7 kB / 0.7922 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.7247, allocations: 8 kB / 0.7922 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009068/0.7256, allocations: 71.81 kB / 0.7923 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.7257, allocations: 35.91 kB / 0.7923 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.7258, allocations: 15.98 kB / 0.7923 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002071/0.7278, allocations: 0.8329 MB / 0.7931 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.01e-07/0.7279, allocations: 4 kB / 0.7931 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002141/0.73, allocations: 0.5031 MB / 0.7936 GB, free: 6.586 MB / 0.6231 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 (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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000542/0.7306, allocations: 176 kB / 0.7938 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003031/0.7336, allocations: 1.312 MB / 0.7951 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7336, allocations: 3.938 kB / 0.7951 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.7343, allocations: 317.8 kB / 0.7954 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/0.7387, allocations: 0.6468 MB / 0.796 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.7427, allocations: 2.306 MB / 0.7983 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.744, allocations: 1.213 MB / 0.7994 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001692/0.7458, allocations: 372.6 kB / 0.7998 GB, free: 160 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.7461, allocations: 75.42 kB / 0.7999 GB, free: 84 kB / 0.6231 GB Notification: Performance of SimCode: time 2.144e-06/0.7461, allocations: 0 / 0.7999 GB, free: 84 kB / 0.6231 GB Notification: Performance of Templates: time 0.3213/1.067, allocations: 21.33 MB / 0.8207 GB, free: 217.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)