Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001217/0.001217, allocations: 191 kB / 17.34 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7643/0.7643, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 70.81 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1666, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.5698/0.7365, allocations: 161.6 MB / 0.8231 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.7397, allocations: 1.763 MB / 0.8248 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.7401, allocations: 12.91 kB / 0.8249 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.7407, allocations: 161.1 kB / 0.825 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.7421, allocations: 0.5257 MB / 0.8255 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.7433, allocations: 389.8 kB / 0.8259 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.7457, allocations: 2.555 MB / 0.8284 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.7482, allocations: 2.403 MB / 0.8307 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.7501, allocations: 1.048 MB / 0.8318 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008519/0.751, allocations: 0.72 MB / 0.8325 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.7511, allocations: 62.16 kB / 0.8325 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.7526, allocations: 0.7379 MB / 0.8332 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.7529, allocations: 312.9 kB / 0.8335 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006226/0.7535, allocations: 0.5487 MB / 0.8341 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.7551, allocations: 1.421 MB / 0.8355 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7551, allocations: 2.344 kB / 0.8355 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7551, allocations: 3.938 kB / 0.8355 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.7551, allocations: 0 / 0.8355 GB, free: 12.83 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002342/0.7575, allocations: 1.451 MB / 0.8369 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.7575, allocations: 11.27 kB / 0.8369 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008421/0.7584, allocations: 186.2 kB / 0.8371 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.7599, allocations: 0.8627 MB / 0.8379 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.7599, allocations: 46.78 kB / 0.838 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.76, allocations: 58.09 kB / 0.838 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.7611, allocations: 0.821 MB / 0.8388 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.7612, allocations: 6.656 kB / 0.8388 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.7612, allocations: 21.06 kB / 0.8388 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.7612, allocations: 16.3 kB / 0.8389 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.7621, allocations: 0.5611 MB / 0.8394 GB, free: 10.08 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.003971/0.7661, allocations: 4.199 MB / 0.8435 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.7669, allocations: 444.1 kB / 0.8439 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.7673, allocations: 348.2 kB / 0.8443 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.7677, allocations: 199.1 kB / 0.8445 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/0.7682, allocations: 315.1 kB / 0.8448 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000305/0.7685, allocations: 34.03 kB / 0.8448 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.584e-06/0.7685, allocations: 0 / 0.8448 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.004649/0.7732, allocations: 1.556 MB / 0.8463 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.7732, allocations: 85.45 kB / 0.8464 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.7746, allocations: 1.146 MB / 0.8475 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.7747, allocations: 39.05 kB / 0.8475 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.7751, allocations: 486.2 kB / 0.848 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.7752, allocations: 121.6 kB / 0.8481 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.7754, allocations: 113.2 kB / 0.8482 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7755, allocations: 323.8 kB / 0.8485 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.7759, allocations: 236.9 kB / 0.8488 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.7765, allocations: 0.5332 MB / 0.8493 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.7774, allocations: 0.6802 MB / 0.85 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7774, allocations: 0 / 0.85 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002384/0.7798, allocations: 1.111 MB / 0.851 GB, free: 408 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.7799, allocations: 35.69 kB / 0.8511 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7799, allocations: 7.938 kB / 0.8511 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.7814, allocations: 440.2 kB / 0.8515 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.7818, allocations: 91.7 kB / 0.8516 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.7833, allocations: 1.092 MB / 0.8527 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/0.7843, allocations: 63.92 kB / 0.8527 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/0.7843, allocations: 27.98 kB / 0.8527 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008479/0.7852, allocations: 0.5164 MB / 0.8532 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000592/0.7858, allocations: 0.5032 MB / 0.8537 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008328/0.7866, allocations: 0.5957 MB / 0.8543 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.7867, allocations: 4 kB / 0.8543 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001723/0.7884, allocations: 0.889 MB / 0.8552 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.7884, allocations: 41.78 kB / 0.8552 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7885, allocations: 4 kB / 0.8552 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005394/0.789, allocations: 228.6 kB / 0.8555 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.7894, allocations: 87.8 kB / 0.8555 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/0.7933, allocations: 3.316 MB / 0.8588 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.7944, allocations: 68.23 kB / 0.8588 GB, free: 8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.7945, allocations: 24 kB / 0.8589 GB, free: 7.977 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.7947, allocations: 224.1 kB / 0.8591 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.795, allocations: 102.8 kB / 0.8592 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.7966, allocations: 0.7696 MB / 0.8599 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7966, allocations: 7.938 kB / 0.8599 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.7966, allocations: 7.922 kB / 0.8599 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.7966, allocations: 0 / 0.8599 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.7996, allocations: 1.713 MB / 0.8616 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.7996, allocations: 0 / 0.8616 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.7999, allocations: 55.88 kB / 0.8617 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005327/0.8004, allocations: 268.7 kB / 0.8619 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.8004, allocations: 8 kB / 0.8619 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.8015, allocations: 1.036 MB / 0.8629 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.8015, allocations: 7.938 kB / 0.863 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.8029, allocations: 0.8935 MB / 0.8638 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.8035, allocations: 223.8 kB / 0.864 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.8037, allocations: 8 kB / 0.864 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/0.8044, allocations: 39.94 kB / 0.8641 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.8045, allocations: 27.97 kB / 0.8641 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.8046, allocations: 11.94 kB / 0.8641 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001157/0.8057, allocations: 0.8158 MB / 0.8649 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8057, allocations: 4 kB / 0.8649 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001498/0.8072, allocations: 463.4 kB / 0.8654 GB, free: 1.121 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 (13): * Single equations (assignments): 10 * 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005043/0.8078, allocations: 169.8 kB / 0.8655 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002777/0.8106, allocations: 1.279 MB / 0.8668 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8106, allocations: 4.25 kB / 0.8668 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.8113, allocations: 303.6 kB / 0.8671 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.8136, allocations: 0.4916 MB / 0.8675 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.8169, allocations: 1.925 MB / 0.8694 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.8178, allocations: 1.181 MB / 0.8706 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.818, allocations: 71.36 kB / 0.8706 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/0.818, allocations: 0 / 0.8706 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.03068/0.8487, allocations: 21.44 MB / 0.8916 GB, free: 6.23 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)