Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001135/0.001135, allocations: 168.7 kB / 15.95 MB, free: 204 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.286/1.286, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7343/0.7343, allocations: 132.4 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002837, allocations: 8 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3444, allocations: 81.57 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.148/0.4925, allocations: 146.8 MB / 0.7264 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.4952, allocations: 1.633 MB / 0.728 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.4955, allocations: 7.938 kB / 0.728 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.496, allocations: 115.2 kB / 0.7281 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.4972, allocations: 397.2 kB / 0.7285 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.4982, allocations: 337.2 kB / 0.7288 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.5012, allocations: 3.014 MB / 0.7317 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/0.5038, allocations: 2.156 MB / 0.7339 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.5053, allocations: 0.8559 MB / 0.7347 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.5064, allocations: 0.7079 MB / 0.7354 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.5066, allocations: 36 kB / 0.7354 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.5077, allocations: 0.5574 MB / 0.736 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.5081, allocations: 282.9 kB / 0.7362 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.5084, allocations: 229.1 kB / 0.7364 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.5095, allocations: 1.033 MB / 0.7375 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5095, allocations: 0 / 0.7375 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5095, allocations: 0 / 0.7375 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.988e-05/0.5095, allocations: 8 kB / 0.7375 GB, free: 2.02 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.0021/0.5116, allocations: 1.332 MB / 0.7388 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.5117, allocations: 8.031 kB / 0.7388 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.5125, allocations: 178.5 kB / 0.7389 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5139, allocations: 0.8117 MB / 0.7397 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.514, allocations: 41 kB / 0.7398 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.045e-05/0.5141, allocations: 64 kB / 0.7398 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5153, allocations: 0.8239 MB / 0.7406 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5153, allocations: 3.938 kB / 0.7406 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.5153, allocations: 24 kB / 0.7407 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.5154, allocations: 12 kB / 0.7407 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009461/0.5163, allocations: 0.5696 MB / 0.7412 GB, free: 13.97 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 preOpt removeSimpleEquations (simulation): time 0.003593/0.5199, allocations: 4.266 MB / 0.7454 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.5206, allocations: 450.3 kB / 0.7458 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.5211, allocations: 349.8 kB / 0.7462 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.5214, allocations: 198.2 kB / 0.7464 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000506/0.5219, allocations: 323.1 kB / 0.7467 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001872/0.5221, allocations: 39.59 kB / 0.7467 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.5221, allocations: 0 / 0.7467 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.004779/0.5269, allocations: 1.69 MB / 0.7483 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.527, allocations: 81.11 kB / 0.7484 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.5283, allocations: 1.147 MB / 0.7495 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.5283, allocations: 33.7 kB / 0.7496 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.5287, allocations: 488.4 kB / 0.75 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.5288, allocations: 118.3 kB / 0.7502 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.5288, allocations: 16 kB / 0.7502 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.5289, allocations: 329.9 kB / 0.7505 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.5293, allocations: 205 kB / 0.7507 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.5299, allocations: 0.515 MB / 0.7512 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.5304, allocations: 322.9 kB / 0.7515 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5304, allocations: 112 / 0.7515 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002087/0.5325, allocations: 1.053 MB / 0.7525 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.5326, allocations: 278.7 kB / 0.7528 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5326, allocations: 4 kB / 0.7528 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.5339, allocations: 344.5 kB / 0.7531 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.5342, allocations: 103.8 kB / 0.7532 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.5352, allocations: 1.046 MB / 0.7542 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.536, allocations: 87.81 kB / 0.7543 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.5361, allocations: 24 kB / 0.7543 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.5361, allocations: 7.953 kB / 0.7544 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/0.5375, allocations: 0.7906 MB / 0.7551 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5375, allocations: 8.047 kB / 0.7551 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/0.5381, allocations: 254.1 kB / 0.7554 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.5384, allocations: 95.88 kB / 0.7555 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.5419, allocations: 3.048 MB / 0.7584 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.5426, allocations: 95.75 kB / 0.7585 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.5426, allocations: 20 kB / 0.7586 GB, free: 11.4 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004553/0.5431, allocations: 470.2 kB / 0.759 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5432, allocations: 106.7 kB / 0.7591 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.5446, allocations: 0.7812 MB / 0.7599 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5446, allocations: 8 kB / 0.7599 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.5446, allocations: 0 / 0.7599 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5446, allocations: 0 / 0.7599 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.547, allocations: 1.744 MB / 0.7616 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.547, allocations: 0 / 0.7616 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.5473, allocations: 55.94 kB / 0.7616 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/0.5478, allocations: 243.4 kB / 0.7619 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.5478, allocations: 8 kB / 0.7619 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008602/0.5487, allocations: 1.005 MB / 0.7628 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5487, allocations: 3.953 kB / 0.7629 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.5499, allocations: 0.9067 MB / 0.7637 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.5503, allocations: 227.8 kB / 0.764 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.5504, allocations: 12 kB / 0.764 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/0.551, allocations: 71.72 kB / 0.764 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.5511, allocations: 31.89 kB / 0.7641 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.5511, allocations: 11.94 kB / 0.7641 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009648/0.5521, allocations: 0.8119 MB / 0.7649 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5521, allocations: 0 / 0.7649 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001191/0.5533, allocations: 479.4 kB / 0.7653 GB, free: 4.266 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 (13): * Single equations (assignments): 10 * 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00037/0.5537, allocations: 183.1 kB / 0.7655 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.5556, allocations: 1.136 MB / 0.7666 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5556, allocations: 0 / 0.7666 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.5561, allocations: 263.9 kB / 0.7669 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.5589, allocations: 0.6329 MB / 0.7675 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.5616, allocations: 1.976 MB / 0.7694 GB, free: 8 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.5623, allocations: 1.193 MB / 0.7706 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000972/0.5632, allocations: 340.1 kB / 0.7709 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.5634, allocations: 63.42 kB / 0.771 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.5634, allocations: 0 / 0.771 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.03121/0.5946, allocations: 20.71 MB / 0.7912 GB, free: 9.973 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)