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.0007868/0.0007868, allocations: 99.12 kB / 15.71 MB, free: 452 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.0008977/0.0008976, allocations: 177.3 kB / 16.58 MB, free: 6.879 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.458/1.458, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7534/0.7534, allocations: 132.3 MB / 424 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 10.12 kB / 0.504 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5283/0.5286, allocations: 81.57 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.196/0.7247, allocations: 146.8 MB / 0.727 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.7278, allocations: 1.634 MB / 0.7286 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.728, allocations: 15.88 kB / 0.7286 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.7285, allocations: 115.2 kB / 0.7287 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.7296, allocations: 394.2 kB / 0.7291 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.7305, allocations: 329.7 kB / 0.7294 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003041/0.7336, allocations: 3.009 MB / 0.7323 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.7362, allocations: 2.149 MB / 0.7344 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.738, allocations: 0.8715 MB / 0.7353 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.7388, allocations: 0.7001 MB / 0.736 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.65e-05/0.7389, allocations: 32 kB / 0.736 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.7401, allocations: 0.5535 MB / 0.7365 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.7404, allocations: 282.9 kB / 0.7368 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.7408, allocations: 233.1 kB / 0.737 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.742, allocations: 1.037 MB / 0.7381 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.742, allocations: 0 / 0.7381 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.742, allocations: 0 / 0.7381 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.742, allocations: 0 / 0.7381 GB, free: 2.102 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.002278/0.7443, allocations: 1.332 MB / 0.7394 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7443, allocations: 12.03 kB / 0.7394 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007524/0.7451, allocations: 186.5 kB / 0.7395 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.7465, allocations: 0.804 MB / 0.7403 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.7466, allocations: 41 kB / 0.7404 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.7466, allocations: 64 kB / 0.7404 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.7479, allocations: 0.8239 MB / 0.7412 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.7479, allocations: 7.938 kB / 0.7412 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.748, allocations: 20 kB / 0.7413 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.748, allocations: 16 kB / 0.7413 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.7489, allocations: 0.5657 MB / 0.7418 GB, free: 14.05 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.003976/0.7529, allocations: 4.262 MB / 0.746 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.7537, allocations: 450.3 kB / 0.7464 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.7542, allocations: 357.8 kB / 0.7468 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.7545, allocations: 194.2 kB / 0.7469 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000533/0.755, allocations: 327.1 kB / 0.7473 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002274/0.7553, allocations: 31.59 kB / 0.7473 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.7553, allocations: 0 / 0.7473 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.004658/0.7599, allocations: 1.694 MB / 0.7489 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.76, allocations: 81.11 kB / 0.749 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.7615, allocations: 1.143 MB / 0.7501 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.7615, allocations: 45.64 kB / 0.7502 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.762, allocations: 492.4 kB / 0.7506 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.7622, allocations: 114.4 kB / 0.7508 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.7622, allocations: 12 kB / 0.7508 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7623, allocations: 325.9 kB / 0.7511 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.7627, allocations: 205 kB / 0.7513 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.7633, allocations: 0.5228 MB / 0.7518 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.7638, allocations: 319 kB / 0.7521 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.7638, allocations: 4 kB / 0.7521 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002104/0.7659, allocations: 1.041 MB / 0.7531 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.7661, allocations: 287 kB / 0.7534 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.7662, allocations: 8 kB / 0.7534 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.7674, allocations: 340.5 kB / 0.7537 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.7677, allocations: 103.8 kB / 0.7538 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.7689, allocations: 1.041 MB / 0.7548 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/0.7698, allocations: 87.81 kB / 0.7549 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.7699, allocations: 24 kB / 0.7549 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7699, allocations: 7.953 kB / 0.7549 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/0.7715, allocations: 0.7947 MB / 0.7557 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.7715, allocations: 8.094 kB / 0.7557 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/0.7721, allocations: 241.3 kB / 0.756 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.7724, allocations: 103.9 kB / 0.7561 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.7761, allocations: 3.048 MB / 0.759 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.7772, allocations: 91.81 kB / 0.7591 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.7773, allocations: 24 kB / 0.7591 GB, free: 11.48 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.0006917/0.778, allocations: 466.2 kB / 0.7596 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.7781, allocations: 102.7 kB / 0.7597 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.7795, allocations: 0.7968 MB / 0.7605 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7795, allocations: 4 kB / 0.7605 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.7795, allocations: 0 / 0.7605 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.7796, allocations: 4 kB / 0.7605 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.7821, allocations: 1.728 MB / 0.7622 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.7822, allocations: 4.188 kB / 0.7622 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.7824, allocations: 56.17 kB / 0.7622 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/0.7829, allocations: 250.8 kB / 0.7625 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.7829, allocations: 11.98 kB / 0.7625 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009453/0.7839, allocations: 1.001 MB / 0.7634 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7839, allocations: 11.92 kB / 0.7635 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.7853, allocations: 0.9068 MB / 0.7643 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.7856, allocations: 227.8 kB / 0.7646 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7858, allocations: 11.94 kB / 0.7646 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.7863, allocations: 71.72 kB / 0.7646 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.7864, allocations: 31.89 kB / 0.7647 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.7864, allocations: 8 kB / 0.7647 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00104/0.7875, allocations: 0.8119 MB / 0.7655 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7875, allocations: 0 / 0.7655 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001337/0.7888, allocations: 479.4 kB / 0.7659 GB, free: 4.336 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.0004302/0.7893, allocations: 175.3 kB / 0.7661 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.7913, allocations: 1.139 MB / 0.7672 GB, free: 3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7913, allocations: 0 / 0.7672 GB, free: 3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.7918, allocations: 251.5 kB / 0.7674 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.7945, allocations: 0.6235 MB / 0.7681 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.7975, allocations: 2.043 MB / 0.7701 GB, free: 32 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/0.7984, allocations: 1.189 MB / 0.7712 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.7985, allocations: 67.38 kB / 0.7713 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.7985, allocations: 0 / 0.7713 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.03091/0.8294, allocations: 21.26 MB / 0.792 GB, free: 9.633 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.o] Error 1