Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.000883/0.000883, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.322/1.322, allocations: 223.3 MB / 241 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.914/0.914, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 9.281 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1577, allocations: 82.32 MB / 0.5886 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4573/0.6151, allocations: 157.3 MB / 0.7422 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.6186, allocations: 1.756 MB / 0.7439 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.6191, allocations: 9.594 kB / 0.7439 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.6198, allocations: 132.2 kB / 0.7441 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.6214, allocations: 0.4947 MB / 0.7445 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.6226, allocations: 347.7 kB / 0.7449 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003736/0.6263, allocations: 3.507 MB / 0.7483 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.6292, allocations: 2.212 MB / 0.7505 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.6313, allocations: 0.8941 MB / 0.7513 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.6325, allocations: 0.7203 MB / 0.752 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.6328, allocations: 33.59 kB / 0.7521 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.6345, allocations: 0.7994 MB / 0.7529 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.6349, allocations: 280.4 kB / 0.7531 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008037/0.6358, allocations: 0.5317 MB / 0.7536 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.637, allocations: 1.022 MB / 0.7546 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.637, allocations: 0 / 0.7546 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.913e-06/0.637, allocations: 4.844 kB / 0.7546 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.637, allocations: 0 / 0.7546 GB, free: 2.523 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.002065/0.6391, allocations: 1.293 MB / 0.7559 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.6391, allocations: 8.031 kB / 0.7559 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007521/0.6399, allocations: 186.5 kB / 0.7561 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.641, allocations: 0.8099 MB / 0.7569 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.6411, allocations: 41 kB / 0.7569 GB, free: 76 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.6412, allocations: 64 kB / 0.757 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.6424, allocations: 0.8288 MB / 0.7578 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6424, allocations: 7.938 kB / 0.7578 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.6425, allocations: 23.98 kB / 0.7578 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.6425, allocations: 20 kB / 0.7578 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/0.6434, allocations: 0.5696 MB / 0.7584 GB, free: 14.49 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.003788/0.6472, allocations: 4.252 MB / 0.7625 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.648, allocations: 454.1 kB / 0.763 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.6485, allocations: 350.8 kB / 0.7633 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.6487, allocations: 190.7 kB / 0.7635 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005187/0.6493, allocations: 323.1 kB / 0.7638 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002486/0.6495, allocations: 31.59 kB / 0.7638 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.6495, allocations: 0 / 0.7638 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.004995/0.6545, allocations: 1.716 MB / 0.7655 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.6546, allocations: 81.11 kB / 0.7656 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.6561, allocations: 1.147 MB / 0.7667 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.6562, allocations: 37.7 kB / 0.7667 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.6566, allocations: 488.6 kB / 0.7672 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6567, allocations: 126.3 kB / 0.7673 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-05/0.6568, allocations: 37.7 kB / 0.7674 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6569, allocations: 330 kB / 0.7677 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.6573, allocations: 232.9 kB / 0.7679 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.658, allocations: 0.554 MB / 0.7684 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.6589, allocations: 0.6869 MB / 0.7691 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6589, allocations: 0 / 0.7691 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002285/0.6612, allocations: 1.111 MB / 0.7702 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.6614, allocations: 274.8 kB / 0.7705 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.6614, allocations: 4 kB / 0.7705 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.6627, allocations: 383.2 kB / 0.7708 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.6631, allocations: 95.86 kB / 0.7709 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.6642, allocations: 1.04 MB / 0.7719 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/0.6652, allocations: 83.28 kB / 0.772 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.6652, allocations: 28 kB / 0.772 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.6653, allocations: 4 kB / 0.772 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00142/0.6667, allocations: 0.7904 MB / 0.7728 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6667, allocations: 4 kB / 0.7728 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/0.6673, allocations: 243 kB / 0.7731 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.6677, allocations: 103.8 kB / 0.7732 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.6714, allocations: 3.032 MB / 0.7761 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.6724, allocations: 79.97 kB / 0.7762 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.6725, allocations: 20 kB / 0.7762 GB, free: 11.35 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 (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 {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006458/0.6731, allocations: 480.6 kB / 0.7767 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.6734, allocations: 106.6 kB / 0.7768 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.6749, allocations: 0.789 MB / 0.7775 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.675, allocations: 4 kB / 0.7775 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.675, allocations: 0 / 0.7775 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.675, allocations: 0 / 0.7775 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.6778, allocations: 1.728 MB / 0.7792 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.6778, allocations: 4 kB / 0.7792 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.6781, allocations: 68.09 kB / 0.7793 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/0.6786, allocations: 241.5 kB / 0.7795 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.6786, allocations: 11.98 kB / 0.7795 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000927/0.6796, allocations: 1.018 MB / 0.7805 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6796, allocations: 4.031 kB / 0.7805 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.681, allocations: 0.8953 MB / 0.7814 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/0.6814, allocations: 235.7 kB / 0.7816 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6816, allocations: 8 kB / 0.7816 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.6823, allocations: 55.92 kB / 0.7817 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.6824, allocations: 23.97 kB / 0.7817 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.6824, allocations: 24 kB / 0.7817 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001153/0.6836, allocations: 0.8119 MB / 0.7825 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6836, allocations: 0 / 0.7825 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001464/0.6851, allocations: 479.4 kB / 0.783 GB, free: 4.207 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 (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 {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004898/0.6856, allocations: 170 kB / 0.7832 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002212/0.6878, allocations: 1.158 MB / 0.7843 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6878, allocations: 0 / 0.7843 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.6884, allocations: 243.1 kB / 0.7845 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/0.692, allocations: 0.6293 MB / 0.7851 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.6954, allocations: 2.144 MB / 0.7872 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/0.6962, allocations: 1.189 MB / 0.7884 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.6964, allocations: 63.42 kB / 0.7885 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.6965, allocations: 0 / 0.7885 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of Templates: time 0.03107/0.7275, allocations: 21.33 MB / 0.8093 GB, free: 9.316 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)