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.0008149/0.0008148, allocations: 100.5 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.001159/0.001159, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.451/1.451, allocations: 223.2 MB / 240.6 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.8263/0.8263, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 8.562 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.5421, allocations: 81.57 MB / 0.5837 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.2034/0.7455, allocations: 146.7 MB / 0.727 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005565/0.7511, allocations: 3.36 MB / 0.7303 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.7517, allocations: 11.88 kB / 0.7303 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.7523, allocations: 111.2 kB / 0.7304 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.7538, allocations: 394.1 kB / 0.7308 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.7551, allocations: 376.7 kB / 0.7311 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003396/0.7585, allocations: 2.987 MB / 0.734 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.7599, allocations: 0.699 MB / 0.7347 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.7619, allocations: 0.8715 MB / 0.7356 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.7632, allocations: 0.7118 MB / 0.7363 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.7634, allocations: 36 kB / 0.7363 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.765, allocations: 0.5535 MB / 0.7368 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004642/0.7655, allocations: 278.9 kB / 0.7371 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.766, allocations: 233.1 kB / 0.7373 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.7675, allocations: 1.025 MB / 0.7383 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7675, allocations: 0 / 0.7383 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7676, allocations: 0 / 0.7383 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.067e-05/0.7676, allocations: 0 / 0.7383 GB, free: 1.961 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002569/0.7702, allocations: 1.303 MB / 0.7396 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7702, allocations: 12.03 kB / 0.7396 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/0.7711, allocations: 186.4 kB / 0.7398 GB, free: 412 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.7728, allocations: 0.8002 MB / 0.7406 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.7729, allocations: 41 kB / 0.7406 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.773, allocations: 63.98 kB / 0.7407 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.7743, allocations: 0.7966 MB / 0.7414 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.7743, allocations: 4 kB / 0.7415 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.7743, allocations: 20 kB / 0.7415 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.7744, allocations: 16 kB / 0.7415 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.7753, allocations: 0.5383 MB / 0.742 GB, free: 14 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.004383/0.7797, allocations: 4.607 MB / 0.7465 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.7804, allocations: 430.2 kB / 0.7469 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.7808, allocations: 254.1 kB / 0.7472 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.7811, allocations: 198.2 kB / 0.7474 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.7816, allocations: 297.1 kB / 0.7476 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.707e-06/0.7816, allocations: 0 / 0.7476 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003797/0.7854, allocations: 1.342 MB / 0.7489 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.7855, allocations: 85.11 kB / 0.749 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.7869, allocations: 1.106 MB / 0.7501 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.787, allocations: 37.7 kB / 0.7501 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.7874, allocations: 0.4921 MB / 0.7506 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.891e-05/0.7875, allocations: 110.5 kB / 0.7507 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.7876, allocations: 8 kB / 0.7507 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7877, allocations: 326 kB / 0.751 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.788, allocations: 184.7 kB / 0.7512 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.7886, allocations: 0.494 MB / 0.7517 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.7891, allocations: 295 kB / 0.752 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7891, allocations: 4 kB / 0.752 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002124/0.7912, allocations: 0.9874 MB / 0.753 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.7914, allocations: 267.5 kB / 0.7532 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.7915, allocations: 7.984 kB / 0.7532 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.7927, allocations: 340.4 kB / 0.7535 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.793, allocations: 59.91 kB / 0.7536 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.794, allocations: 1.011 MB / 0.7546 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.7948, allocations: 107.4 kB / 0.7547 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.7948, allocations: 23.98 kB / 0.7547 GB, free: 192 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.7948, allocations: 6.344 kB / 0.7547 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001377/0.7962, allocations: 0.7439 MB / 0.7554 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7963, allocations: 4 kB / 0.7555 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/0.7968, allocations: 229.2 kB / 0.7557 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.797, allocations: 59.84 kB / 0.7557 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.8007, allocations: 3.114 MB / 0.7588 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.8014, allocations: 94.75 kB / 0.7589 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.8015, allocations: 20 kB / 0.7589 GB, free: 11.77 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006074/0.8021, allocations: 472.7 kB / 0.7593 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.8022, allocations: 94.78 kB / 0.7594 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.8035, allocations: 0.7297 MB / 0.7601 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.8035, allocations: 4 kB / 0.7601 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.8035, allocations: 0 / 0.7601 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8035, allocations: 0 / 0.7601 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.8058, allocations: 1.615 MB / 0.7617 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.8058, allocations: 0 / 0.7617 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.8059, allocations: 31.91 kB / 0.7617 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.8064, allocations: 220.9 kB / 0.762 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.8064, allocations: 12 kB / 0.762 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008682/0.8073, allocations: 0.9782 MB / 0.7629 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8073, allocations: 0 / 0.7629 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.8085, allocations: 0.8347 MB / 0.7637 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.8088, allocations: 219.8 kB / 0.7639 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.8089, allocations: 8 kB / 0.764 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.8093, allocations: 63.78 kB / 0.764 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.8094, allocations: 27.95 kB / 0.764 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.8095, allocations: 12 kB / 0.7641 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009792/0.8105, allocations: 0.7877 MB / 0.7648 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8105, allocations: 3.938 kB / 0.7648 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001264/0.8117, allocations: 455.4 kB / 0.7653 GB, free: 5.027 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_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 (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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004221/0.8122, allocations: 183.8 kB / 0.7654 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.814, allocations: 1.057 MB / 0.7665 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.814, allocations: 3.938 kB / 0.7665 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.8145, allocations: 230.8 kB / 0.7667 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.8163, allocations: 473 kB / 0.7671 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.8192, allocations: 2.027 MB / 0.7691 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.8199, allocations: 1.185 MB / 0.7703 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.8201, allocations: 55.44 kB / 0.7703 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of SimCode: time 1.122e-06/0.8201, allocations: 4 kB / 0.7703 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of Templates: time 0.02724/0.8473, allocations: 20.15 MB / 0.79 GB, free: 11.68 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.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