Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007382/0.0007383, allocations: 91.92 kB / 16.02 MB, free: 80 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.000782/0.0007821, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.337/1.337, allocations: 223.2 MB / 240.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7262/0.7262, allocations: 132.3 MB / 424.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8.281 kB / 0.5046 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4011, allocations: 81.58 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1694/0.5706, allocations: 157.3 MB / 0.7379 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.5734, allocations: 1.756 MB / 0.7396 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.5737, allocations: 7.938 kB / 0.7396 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.5742, allocations: 131.2 kB / 0.7397 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.5753, allocations: 0.498 MB / 0.7402 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008894/0.5762, allocations: 350.1 kB / 0.7406 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.5792, allocations: 3.485 MB / 0.744 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008591/0.5801, allocations: 0.7465 MB / 0.7447 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.5814, allocations: 0.8947 MB / 0.7456 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007137/0.5821, allocations: 0.7194 MB / 0.7463 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.5822, allocations: 32 kB / 0.7463 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.5834, allocations: 0.799 MB / 0.7471 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.5837, allocations: 274.9 kB / 0.7473 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.5842, allocations: 0.5262 MB / 0.7479 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008811/0.5851, allocations: 1.009 MB / 0.7488 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5851, allocations: 0 / 0.7488 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5851, allocations: 3.938 kB / 0.7488 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.5851, allocations: 4 kB / 0.7488 GB, free: 7.363 MB / 0.5762 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.001815/0.5869, allocations: 1.272 MB / 0.7501 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.587, allocations: 8.031 kB / 0.7501 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.5876, allocations: 186.5 kB / 0.7503 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009869/0.5886, allocations: 0.8022 MB / 0.7511 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.5887, allocations: 41 kB / 0.7511 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.473e-05/0.5888, allocations: 64 kB / 0.7512 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.5898, allocations: 0.7966 MB / 0.7519 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5899, allocations: 7.938 kB / 0.7519 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.5899, allocations: 16 kB / 0.752 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5899, allocations: 16 kB / 0.752 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.5908, allocations: 0.5539 MB / 0.7525 GB, free: 3.418 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.003414/0.5942, allocations: 4.591 MB / 0.757 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.5949, allocations: 430.3 kB / 0.7574 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.5953, allocations: 251.1 kB / 0.7576 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.5955, allocations: 202.1 kB / 0.7578 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.596, allocations: 293.1 kB / 0.7581 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.596, allocations: 0 / 0.7581 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001232/0.5972, allocations: 0.6546 MB / 0.7588 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5973, allocations: 85.11 kB / 0.7588 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.5986, allocations: 1.118 MB / 0.7599 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.5986, allocations: 33.7 kB / 0.76 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.599, allocations: 492.1 kB / 0.7604 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.5992, allocations: 110.5 kB / 0.7605 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.5992, allocations: 45.64 kB / 0.7606 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5994, allocations: 330 kB / 0.7609 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.5998, allocations: 212.7 kB / 0.7611 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.6003, allocations: 0.5213 MB / 0.7616 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008338/0.6012, allocations: 0.6372 MB / 0.7622 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6012, allocations: 0 / 0.7622 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001081/0.6023, allocations: 0.7329 MB / 0.7629 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.6025, allocations: 282.8 kB / 0.7632 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6025, allocations: 4 kB / 0.7632 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6025, allocations: 8 kB / 0.7632 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.6042, allocations: 355.5 kB / 0.7636 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.6073, allocations: 6.087 MB / 0.7695 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.608, allocations: 99.55 kB / 0.7696 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.6081, allocations: 27.98 kB / 0.7696 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.6081, allocations: 7.938 kB / 0.7696 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008275/0.6089, allocations: 0.5407 MB / 0.7702 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.6089, allocations: 12.02 kB / 0.7702 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.609, allocations: 8 kB / 0.7702 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.6095, allocations: 151.8 kB / 0.7703 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6095, allocations: 12 kB / 0.7703 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.6101, allocations: 91.53 kB / 0.7704 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.6101, allocations: 23.98 kB / 0.7705 GB, free: 15.98 MB / 0.6075 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005011/0.6106, allocations: 476.4 kB / 0.7709 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.6107, allocations: 98.78 kB / 0.771 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.6116, allocations: 0.4951 MB / 0.7715 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.6116, allocations: 7.938 kB / 0.7715 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6116, allocations: 4 kB / 0.7715 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6116, allocations: 3.984 kB / 0.7715 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.6134, allocations: 1.398 MB / 0.7729 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6134, allocations: 4 kB / 0.7729 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/0.614, allocations: 147.8 kB / 0.773 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.614, allocations: 7.938 kB / 0.773 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.614, allocations: 8 kB / 0.773 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.6165, allocations: 6.024 MB / 0.7789 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6165, allocations: 8.25 kB / 0.7789 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.6172, allocations: 0.6036 MB / 0.7795 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.6175, allocations: 223.8 kB / 0.7797 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.6176, allocations: 8 kB / 0.7797 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.618, allocations: 47.89 kB / 0.7798 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.6181, allocations: 31.91 kB / 0.7798 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.6181, allocations: 12 kB / 0.7798 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008561/0.619, allocations: 0.7914 MB / 0.7806 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.619, allocations: 0 / 0.7806 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000978/0.62, allocations: 411.4 kB / 0.781 GB, free: 4.812 MB / 0.6075 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/0.6204, allocations: 166.5 kB / 0.7811 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.6231, allocations: 1.103 MB / 0.7822 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6231, allocations: 4 kB / 0.7822 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/0.6238, allocations: 304.1 kB / 0.7825 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.6259, allocations: 461.2 kB / 0.783 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.6284, allocations: 2.165 MB / 0.7851 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.629, allocations: 1.177 MB / 0.7862 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.6292, allocations: 71.42 kB / 0.7863 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.6292, allocations: 0 / 0.7863 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.3247/0.9539, allocations: 64.14 MB / 0.8489 GB, free: 202.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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.SeriesFlowCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowCalcHelperMain.o] Error 1