Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 102.1 kB / 15.71 MB, free: 460 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.001262/0.001262, allocations: 173 kB / 16.58 MB, free: 6.398 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.436/1.436, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7606/0.7606, allocations: 132.3 MB / 424 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 16 kB / 0.504 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5257, allocations: 81.58 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1739/0.6997, allocations: 146.7 MB / 0.727 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004041/0.7038, allocations: 1.651 MB / 0.7286 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.7041, allocations: 7.938 kB / 0.7286 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.7047, allocations: 107.2 kB / 0.7287 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.7058, allocations: 390.1 kB / 0.7291 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.7068, allocations: 331.8 kB / 0.7294 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.7097, allocations: 2.997 MB / 0.7323 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009582/0.7106, allocations: 0.6835 MB / 0.733 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.7122, allocations: 0.8676 MB / 0.7338 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007911/0.713, allocations: 0.704 MB / 0.7345 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.661e-05/0.7131, allocations: 36 kB / 0.7346 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.7142, allocations: 0.5535 MB / 0.7351 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.7145, allocations: 282.9 kB / 0.7354 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.7148, allocations: 229.1 kB / 0.7356 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.7158, allocations: 1.021 MB / 0.7366 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7158, allocations: 4 kB / 0.7366 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7158, allocations: 4 kB / 0.7366 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.7158, allocations: 0 / 0.7366 GB, free: 3.57 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.001852/0.7177, allocations: 1.303 MB / 0.7379 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7177, allocations: 8.031 kB / 0.7379 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006751/0.7184, allocations: 182.5 kB / 0.738 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.7197, allocations: 0.8 MB / 0.7388 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.7197, allocations: 48.94 kB / 0.7389 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/0.7198, allocations: 60 kB / 0.7389 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.7209, allocations: 0.7966 MB / 0.7397 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.721, allocations: 3.938 kB / 0.7397 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.721, allocations: 24 kB / 0.7397 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.721, allocations: 12 kB / 0.7397 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.7219, allocations: 0.5421 MB / 0.7403 GB, free: 15.61 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.004225/0.7262, allocations: 4.606 MB / 0.7448 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.7269, allocations: 418.4 kB / 0.7452 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.7272, allocations: 255 kB / 0.7454 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/0.7276, allocations: 202.1 kB / 0.7456 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004879/0.7281, allocations: 293.1 kB / 0.7459 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.7281, allocations: 0 / 0.7459 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001361/0.7294, allocations: 0.6507 MB / 0.7465 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.7295, allocations: 89.05 kB / 0.7466 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.7308, allocations: 1.114 MB / 0.7477 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.7309, allocations: 33.7 kB / 0.7477 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.7313, allocations: 496.1 kB / 0.7482 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.7314, allocations: 110.5 kB / 0.7483 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.7315, allocations: 8 kB / 0.7483 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7316, allocations: 322 kB / 0.7486 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.7319, allocations: 188.7 kB / 0.7488 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.7325, allocations: 0.494 MB / 0.7493 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.733, allocations: 295 kB / 0.7496 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.733, allocations: 0 / 0.7496 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001095/0.7341, allocations: 0.6862 MB / 0.7502 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.7343, allocations: 275.7 kB / 0.7505 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7343, allocations: 12 kB / 0.7505 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.7344, allocations: 8 kB / 0.7505 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.7348, allocations: 115.8 kB / 0.7506 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.7348, allocations: 11.94 kB / 0.7506 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.7355, allocations: 103.4 kB / 0.7507 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.7355, allocations: 24 kB / 0.7508 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.7356, allocations: 4 kB / 0.7508 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008412/0.7364, allocations: 0.54 MB / 0.7513 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7364, allocations: 4 kB / 0.7513 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.7364, allocations: 11.98 kB / 0.7513 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.7368, allocations: 108.3 kB / 0.7514 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.7368, allocations: 19.88 kB / 0.7514 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005397/0.7374, allocations: 99.56 kB / 0.7515 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.7374, allocations: 20 kB / 0.7515 GB, free: 3.312 MB / 0.5762 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004662/0.7379, allocations: 469.2 kB / 0.752 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.738, allocations: 102.9 kB / 0.7521 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/0.7389, allocations: 0.4949 MB / 0.7526 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7389, allocations: 4 kB / 0.7526 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7389, allocations: 0 / 0.7526 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.739, allocations: 7.938 kB / 0.7526 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.741, allocations: 1.399 MB / 0.754 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.741, allocations: 7.953 kB / 0.754 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.7413, allocations: 67.89 kB / 0.754 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.7413, allocations: 4 kB / 0.754 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.7413, allocations: 8 kB / 0.754 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.7413, allocations: 4 kB / 0.754 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7413, allocations: 0 / 0.754 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.7421, allocations: 0.6082 MB / 0.7546 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.7424, allocations: 227.7 kB / 0.7548 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7425, allocations: 8 kB / 0.7549 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.7429, allocations: 59.78 kB / 0.7549 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.743, allocations: 27.95 kB / 0.7549 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.743, allocations: 15.98 kB / 0.755 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001007/0.744, allocations: 0.7797 MB / 0.7557 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.744, allocations: 4 kB / 0.7557 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001061/0.7451, allocations: 415.4 kB / 0.7561 GB, free: 14.47 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003812/0.7455, allocations: 168.1 kB / 0.7563 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.7469, allocations: 0.8105 MB / 0.7571 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7469, allocations: 0 / 0.7571 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.7473, allocations: 198.9 kB / 0.7573 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.7491, allocations: 466.1 kB / 0.7577 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.7518, allocations: 2.003 MB / 0.7597 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/0.7525, allocations: 1.181 MB / 0.7608 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.7527, allocations: 75.42 kB / 0.7609 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.7527, allocations: 0 / 0.7609 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of Templates: time 0.02506/0.7778, allocations: 15.7 MB / 0.7762 GB, free: 9.922 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimisedCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o] Error 1