Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001026/0.001026, allocations: 114.3 kB / 16.42 MB, free: 6.492 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.001069/0.001069, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7712/0.7712, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.4479/0.5751, allocations: 167.8 MB / 0.8242 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003231/0.5783, allocations: 2.2 MB / 0.8263 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.5786, allocations: 14.59 kB / 0.8263 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.5792, allocations: 241.1 kB / 0.8266 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.5806, allocations: 0.7022 MB / 0.8272 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009588/0.5816, allocations: 444 kB / 0.8277 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002375/0.584, allocations: 2.779 MB / 0.8304 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.5864, allocations: 2.553 MB / 0.8329 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.5881, allocations: 1.278 MB / 0.8341 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.589, allocations: 0.8648 MB / 0.835 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.5892, allocations: 72.62 kB / 0.835 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.5905, allocations: 0.8219 MB / 0.8358 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.5909, allocations: 368 kB / 0.8362 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005847/0.5914, allocations: 0.6102 MB / 0.8368 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.5929, allocations: 1.628 MB / 0.8384 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.5929, allocations: 2.906 kB / 0.8384 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5929, allocations: 0 / 0.8384 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5929, allocations: 0 / 0.8384 GB, free: 12.18 MB / 0.6075 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.002427/0.5954, allocations: 1.618 MB / 0.84 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5954, allocations: 7.281 kB / 0.84 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.5962, allocations: 204.2 kB / 0.8402 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.5977, allocations: 0.9358 MB / 0.8411 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.5977, allocations: 52.62 kB / 0.8411 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5978, allocations: 61.06 kB / 0.8412 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5992, allocations: 0.9871 MB / 0.8422 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5992, allocations: 6.812 kB / 0.8422 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.5993, allocations: 20.81 kB / 0.8422 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.5993, allocations: 15.09 kB / 0.8422 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.6005, allocations: 0.7948 MB / 0.843 GB, free: 9.043 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 preOpt removeSimpleEquations (simulation): time 0.00404/0.6045, allocations: 4.76 MB / 0.8476 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.6066, allocations: 4.018 MB / 0.8515 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.6071, allocations: 353.8 kB / 0.8519 GB, free: 28 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.6074, allocations: 193.8 kB / 0.8521 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004862/0.6079, allocations: 328.1 kB / 0.8524 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001639/0.6081, allocations: 33.78 kB / 0.8524 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.6081, allocations: 0 / 0.8524 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.004326/0.6124, allocations: 1.486 MB / 0.8539 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.6125, allocations: 85.11 kB / 0.8539 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.6138, allocations: 1.177 MB / 0.8551 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.6138, allocations: 45.69 kB / 0.8551 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.6142, allocations: 0.5082 MB / 0.8556 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/0.6143, allocations: 122.3 kB / 0.8557 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.6145, allocations: 118.1 kB / 0.8559 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.6146, allocations: 322 kB / 0.8562 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.615, allocations: 238.9 kB / 0.8564 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.6156, allocations: 0.5613 MB / 0.8569 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/0.6166, allocations: 0.6818 MB / 0.8576 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6166, allocations: 4 kB / 0.8576 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00227/0.6188, allocations: 1.091 MB / 0.8587 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.6189, allocations: 37.69 kB / 0.8587 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.6189, allocations: 8 kB / 0.8587 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6203, allocations: 411.2 kB / 0.8591 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.6209, allocations: 111.8 kB / 0.8592 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.6224, allocations: 1.655 MB / 0.8608 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007592/0.6232, allocations: 63.92 kB / 0.8609 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.6233, allocations: 24 kB / 0.8609 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006828/0.624, allocations: 0.5282 MB / 0.8614 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005449/0.6245, allocations: 0.5176 MB / 0.8619 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007703/0.6253, allocations: 0.5993 MB / 0.8625 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.6253, allocations: 4 kB / 0.8625 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001539/0.6269, allocations: 0.9002 MB / 0.8634 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.6269, allocations: 33.7 kB / 0.8634 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6269, allocations: 8 kB / 0.8634 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.6274, allocations: 209 kB / 0.8636 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.6278, allocations: 95.86 kB / 0.8637 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.6313, allocations: 3.17 MB / 0.8668 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/0.6321, allocations: 75.95 kB / 0.8669 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.6321, allocations: 24 kB / 0.8669 GB, free: 292 kB / 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 (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.0001613/0.6323, allocations: 216.1 kB / 0.8671 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.6324, allocations: 106.7 kB / 0.8672 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.6338, allocations: 0.7893 MB / 0.868 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.6338, allocations: 3.984 kB / 0.868 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.6338, allocations: 0 / 0.868 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.6342, allocations: 227.8 kB / 0.8682 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6343, allocations: 7.984 kB / 0.8682 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.6349, allocations: 39.95 kB / 0.8683 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.635, allocations: 47.86 kB / 0.8683 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001563/0.6366, allocations: 0.8524 MB / 0.8692 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001239/0.6378, allocations: 1.004 MB / 0.8701 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000336/0.6382, allocations: 204.3 kB / 0.8703 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009781/0.6391, allocations: 0.8366 MB / 0.8711 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of Backend: time 7.01e-07/0.6392, allocations: 4 kB / 0.8711 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003291/0.6425, allocations: 1.367 MB / 0.8725 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of SimCode: time 0.003998/0.6465, allocations: 2.887 MB / 0.8753 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of Templates: time 0.03261/0.6791, allocations: 21.84 MB / 0.8966 GB, free: 1.941 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)