Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007416/0.0007416, allocations: 99.5 kB / 16.02 MB, free: 72 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.0008609/0.0008614, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.305/1.305, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7261/0.7261, allocations: 132.3 MB / 424.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 8 kB / 0.5046 GB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4304, allocations: 81.57 MB / 0.5843 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1595/0.59, allocations: 157.3 MB / 0.7379 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004243/0.5943, allocations: 3.592 MB / 0.7414 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.5946, allocations: 7.938 kB / 0.7414 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.595, allocations: 139.2 kB / 0.7415 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.5962, allocations: 0.4902 MB / 0.742 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/0.5972, allocations: 392.9 kB / 0.7424 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.6001, allocations: 3.487 MB / 0.7458 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.601, allocations: 0.7621 MB / 0.7465 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.6023, allocations: 0.9025 MB / 0.7474 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007034/0.603, allocations: 0.7194 MB / 0.7481 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.6031, allocations: 32 kB / 0.7482 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.6043, allocations: 0.799 MB / 0.7489 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.6046, allocations: 274.9 kB / 0.7492 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004766/0.605, allocations: 0.5378 MB / 0.7497 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009079/0.6059, allocations: 1.006 MB / 0.7507 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.606, allocations: 0 / 0.7507 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.606, allocations: 0 / 0.7507 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.606, allocations: 0 / 0.7507 GB, free: 5.48 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001739/0.6077, allocations: 1.264 MB / 0.7519 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.6078, allocations: 8.031 kB / 0.7519 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006851/0.6085, allocations: 194.4 kB / 0.7521 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.6095, allocations: 0.7984 MB / 0.7529 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.6095, allocations: 45 kB / 0.753 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.6096, allocations: 56 kB / 0.753 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.6107, allocations: 0.7966 MB / 0.7538 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.6107, allocations: 4 kB / 0.7538 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.6107, allocations: 27.92 kB / 0.7538 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.6108, allocations: 16 kB / 0.7538 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/0.6116, allocations: 0.5461 MB / 0.7544 GB, free: 1.543 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.003488/0.6151, allocations: 4.595 MB / 0.7589 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.6158, allocations: 426.2 kB / 0.7593 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.6162, allocations: 253.4 kB / 0.7595 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.6164, allocations: 202.2 kB / 0.7597 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.6169, allocations: 297.1 kB / 0.76 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.035e-06/0.6169, allocations: 4 kB / 0.76 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.003655/0.6206, allocations: 1.346 MB / 0.7613 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.6207, allocations: 85.09 kB / 0.7614 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.6219, allocations: 1.118 MB / 0.7625 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.6219, allocations: 41.7 kB / 0.7625 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.6223, allocations: 492.1 kB / 0.763 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.6224, allocations: 106.5 kB / 0.7631 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.6225, allocations: 45.7 kB / 0.7631 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.6226, allocations: 326 kB / 0.7634 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.6229, allocations: 208.7 kB / 0.7636 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.6235, allocations: 0.5292 MB / 0.7642 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/0.6243, allocations: 0.6371 MB / 0.7648 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.6243, allocations: 4.219 kB / 0.7648 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002132/0.6265, allocations: 1.057 MB / 0.7658 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.6266, allocations: 290.9 kB / 0.7661 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6267, allocations: 4 kB / 0.7661 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.628, allocations: 364.4 kB / 0.7664 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.6282, allocations: 55.91 kB / 0.7665 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000932/0.6291, allocations: 1.018 MB / 0.7675 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.6298, allocations: 99.44 kB / 0.7676 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.6299, allocations: 24 kB / 0.7676 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.884e-06/0.6299, allocations: 4 kB / 0.7676 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/0.6312, allocations: 0.7244 MB / 0.7683 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6312, allocations: 12.05 kB / 0.7683 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.6317, allocations: 204.6 kB / 0.7685 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.6319, allocations: 63.84 kB / 0.7686 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.6353, allocations: 3.084 MB / 0.7716 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.636, allocations: 87.62 kB / 0.7717 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.6361, allocations: 27.98 kB / 0.7717 GB, free: 14.75 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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0005211/0.6366, allocations: 456.8 kB / 0.7721 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6367, allocations: 103 kB / 0.7722 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.638, allocations: 0.7257 MB / 0.7729 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.638, allocations: 7.984 kB / 0.773 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.638, allocations: 4 kB / 0.773 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.638, allocations: 3.984 kB / 0.773 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.6403, allocations: 1.611 MB / 0.7745 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6403, allocations: 0 / 0.7745 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.6404, allocations: 24.2 kB / 0.7746 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.6409, allocations: 229.8 kB / 0.7748 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.6409, allocations: 15.92 kB / 0.7748 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008063/0.6417, allocations: 0.9754 MB / 0.7757 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6417, allocations: 0 / 0.7757 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.6429, allocations: 0.8507 MB / 0.7766 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.6432, allocations: 211.8 kB / 0.7768 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.6433, allocations: 11.98 kB / 0.7768 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.6437, allocations: 51.89 kB / 0.7768 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.6438, allocations: 27.91 kB / 0.7769 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.6439, allocations: 23.92 kB / 0.7769 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009407/0.6448, allocations: 0.7916 MB / 0.7777 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.984e-06/0.6448, allocations: 0 / 0.7777 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001185/0.646, allocations: 447.4 kB / 0.7781 GB, free: 8.008 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 (12): * Single equations (assignments): 9 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003978/0.6464, allocations: 166.6 kB / 0.7782 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001867/0.6483, allocations: 1.084 MB / 0.7793 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6483, allocations: 0 / 0.7793 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.6488, allocations: 230.8 kB / 0.7795 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.651, allocations: 465.6 kB / 0.78 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.6539, allocations: 2.123 MB / 0.782 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.6546, allocations: 1.185 MB / 0.7832 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.6547, allocations: 59.44 kB / 0.7833 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of SimCode: time 2.615e-06/0.6547, allocations: 4 kB / 0.7833 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.02783/0.6825, allocations: 20.22 MB / 0.803 GB, free: 14.49 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimisedCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o] Error 1