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-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_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.0009769/0.0009765, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0008896/0.0008896, allocations: 177.3 kB / 15.94 MB, free: 228 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.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8346/0.8346, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002843, allocations: 11.98 kB / 0.5068 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 82.32 MB / 0.5872 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.4053/0.548, allocations: 140.5 MB / 0.7244 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005073/0.5532, allocations: 3.602 MB / 0.7279 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.5536, allocations: 14.31 kB / 0.7279 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007408/0.5544, allocations: 239.7 kB / 0.7281 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.5563, allocations: 0.6998 MB / 0.7288 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.5577, allocations: 476.8 kB / 0.7293 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.5599, allocations: 1.647 MB / 0.7309 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.5627, allocations: 2.316 MB / 0.7331 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.5643, allocations: 0.8685 MB / 0.734 GB, free: 3.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000661/0.5649, allocations: 0.6009 MB / 0.7346 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-05/0.565, allocations: 46.66 kB / 0.7346 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.5661, allocations: 458.4 kB / 0.7351 GB, free: 2.863 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.5664, allocations: 308.4 kB / 0.7353 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.5666, allocations: 244.9 kB / 0.7356 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.5676, allocations: 1.133 MB / 0.7367 GB, free: 2.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.5676, allocations: 0 / 0.7367 GB, free: 2.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5676, allocations: 0 / 0.7367 GB, free: 2.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.5676, allocations: 0 / 0.7367 GB, free: 2.352 MB / 0.545 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.002178/0.5698, allocations: 1.501 MB / 0.7382 GB, free: 1.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.5698, allocations: 8.75 kB / 0.7382 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/0.5705, allocations: 208.1 kB / 0.7384 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.572, allocations: 0.8674 MB / 0.7392 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.572, allocations: 45.31 kB / 0.7392 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.5721, allocations: 64 kB / 0.7393 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.5735, allocations: 0.9893 MB / 0.7403 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5735, allocations: 3.938 kB / 0.7403 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.5736, allocations: 24 kB / 0.7403 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.5736, allocations: 23.94 kB / 0.7403 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.5747, allocations: 0.7963 MB / 0.7411 GB, free: 14.77 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.004055/0.5788, allocations: 4.817 MB / 0.7458 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.581, allocations: 4.026 MB / 0.7497 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.5811, allocations: 16.27 kB / 0.7498 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.5815, allocations: 334.8 kB / 0.7501 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002304/0.5818, allocations: 27.69 kB / 0.7501 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.235e-06/0.5818, allocations: 0 / 0.7501 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.004764/0.5866, allocations: 1.686 MB / 0.7517 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5866, allocations: 110.8 kB / 0.7519 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.588, allocations: 1.181 MB / 0.753 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.588, allocations: 33.7 kB / 0.753 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.5884, allocations: 0.5159 MB / 0.7535 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.5885, allocations: 122.4 kB / 0.7537 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.5886, allocations: 12 kB / 0.7537 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5887, allocations: 322 kB / 0.754 GB, free: 324 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.589, allocations: 205 kB / 0.7542 GB, free: 120 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.5896, allocations: 0.5414 MB / 0.7547 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.59, allocations: 330.9 kB / 0.755 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.59, allocations: 4 kB / 0.755 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002098/0.5921, allocations: 1.084 MB / 0.7561 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007268/0.5929, allocations: 2.134 MB / 0.7582 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5929, allocations: 11.98 kB / 0.7582 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.5943, allocations: 430.7 kB / 0.7586 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.5946, allocations: 75.88 kB / 0.7587 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.5959, allocations: 1.126 MB / 0.7598 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008458/0.5968, allocations: 107.7 kB / 0.7599 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.5969, allocations: 28 kB / 0.7599 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/0.5969, allocations: 4 kB / 0.7599 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/0.5982, allocations: 0.8061 MB / 0.7607 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5983, allocations: 8 kB / 0.7607 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.5988, allocations: 251.8 kB / 0.7609 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.5991, allocations: 75.89 kB / 0.761 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.6027, allocations: 3.206 MB / 0.7641 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.6035, allocations: 103.8 kB / 0.7642 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.6035, allocations: 20 kB / 0.7642 GB, free: 5.312 MB / 0.5762 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.0005364/0.6041, allocations: 476.8 kB / 0.7647 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.6042, allocations: 110.6 kB / 0.7648 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.6055, allocations: 0.7921 MB / 0.7656 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6055, allocations: 4 kB / 0.7656 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.6055, allocations: 11.98 kB / 0.7656 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.6055, allocations: 3.984 kB / 0.7656 GB, free: 3.906 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 postOpt removeSimpleEquations (simulation): time 0.002713/0.6082, allocations: 2.245 MB / 0.7678 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6082, allocations: 0 / 0.7678 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.6085, allocations: 52.17 kB / 0.7678 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.6089, allocations: 240.6 kB / 0.7681 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.609, allocations: 11.98 kB / 0.7681 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008267/0.6098, allocations: 0.9339 MB / 0.769 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6098, allocations: 3.938 kB / 0.769 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.611, allocations: 0.976 MB / 0.77 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.6114, allocations: 243.7 kB / 0.7702 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6115, allocations: 8 kB / 0.7702 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/0.6122, allocations: 79.75 kB / 0.7703 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.6122, allocations: 35.94 kB / 0.7703 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.6123, allocations: 12 kB / 0.7703 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009035/0.6132, allocations: 0.8289 MB / 0.7711 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6132, allocations: 0 / 0.7711 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001235/0.6144, allocations: 0.5032 MB / 0.7716 GB, free: 13.48 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.000337/0.6148, allocations: 192.3 kB / 0.7718 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.617, allocations: 1.294 MB / 0.7731 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6171, allocations: 4 kB / 0.7731 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.6176, allocations: 320.1 kB / 0.7734 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.6205, allocations: 0.6446 MB / 0.774 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.6233, allocations: 2.234 MB / 0.7762 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.624, allocations: 1.236 MB / 0.7774 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008231/0.6248, allocations: 328.6 kB / 0.7777 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.6249, allocations: 67.42 kB / 0.7778 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.6249, allocations: 0 / 0.7778 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of Templates: time 0.02951/0.6544, allocations: 20.79 MB / 0.7981 GB, free: 2.539 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: