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.0008081/0.0008079, allocations: 92.78 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.0008905/0.0008906, allocations: 180.1 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.296/1.296, allocations: 223.2 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7204/0.7204, allocations: 132.3 MB / 424.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003086, allocations: 8 kB / 0.5046 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4031, allocations: 81.57 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1709/0.5741, allocations: 157.3 MB / 0.7379 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.577, allocations: 1.767 MB / 0.7396 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.5772, allocations: 7.938 kB / 0.7396 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.5777, allocations: 131.2 kB / 0.7398 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.5788, allocations: 0.4941 MB / 0.7402 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.5798, allocations: 348.2 kB / 0.7406 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00306/0.5828, allocations: 3.479 MB / 0.744 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009589/0.5838, allocations: 0.7426 MB / 0.7447 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.5852, allocations: 0.8947 MB / 0.7456 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007803/0.586, allocations: 0.7155 MB / 0.7463 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.5861, allocations: 32 kB / 0.7463 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.5874, allocations: 0.799 MB / 0.7471 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.5877, allocations: 286.9 kB / 0.7473 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005558/0.5882, allocations: 0.5262 MB / 0.7479 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.5892, allocations: 1.009 MB / 0.7488 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5892, allocations: 0 / 0.7488 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5892, allocations: 3.938 kB / 0.7489 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5892, allocations: 0 / 0.7489 GB, free: 7.348 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.001849/0.5911, allocations: 1.268 MB / 0.7501 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5911, allocations: 12.03 kB / 0.7501 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.5918, allocations: 186.5 kB / 0.7503 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5929, allocations: 0.8022 MB / 0.7511 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.5929, allocations: 45 kB / 0.7511 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.338e-05/0.593, allocations: 56 kB / 0.7512 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.5941, allocations: 0.7966 MB / 0.7519 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5941, allocations: 7.938 kB / 0.7519 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.5942, allocations: 24 kB / 0.752 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.5942, allocations: 12 kB / 0.752 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.5951, allocations: 0.5461 MB / 0.7525 GB, free: 3.41 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.003803/0.5989, allocations: 4.603 MB / 0.757 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.5997, allocations: 426.3 kB / 0.7574 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.6001, allocations: 251 kB / 0.7577 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.6003, allocations: 194.2 kB / 0.7578 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.6008, allocations: 297.1 kB / 0.7581 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.6008, allocations: 0 / 0.7581 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001345/0.6022, allocations: 0.6468 MB / 0.7588 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.6023, allocations: 85.09 kB / 0.7588 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.6036, allocations: 1.118 MB / 0.7599 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.6037, allocations: 37.7 kB / 0.76 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.6041, allocations: 496.1 kB / 0.7604 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.6042, allocations: 110.5 kB / 0.7605 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.6043, allocations: 45.7 kB / 0.7606 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6044, allocations: 333.9 kB / 0.7609 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.6048, allocations: 204.7 kB / 0.7611 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.6054, allocations: 0.5253 MB / 0.7616 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008657/0.6062, allocations: 0.637 MB / 0.7622 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6062, allocations: 0 / 0.7622 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001169/0.6074, allocations: 0.7326 MB / 0.7629 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.6076, allocations: 283 kB / 0.7632 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6076, allocations: 8 kB / 0.7632 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.6076, allocations: 8 kB / 0.7632 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.608, allocations: 111.9 kB / 0.7633 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.6081, allocations: 15.94 kB / 0.7634 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/0.6087, allocations: 95.47 kB / 0.7634 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.6088, allocations: 31.92 kB / 0.7635 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.6088, allocations: 4 kB / 0.7635 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008402/0.6096, allocations: 0.5407 MB / 0.764 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6097, allocations: 12.09 kB / 0.764 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.6097, allocations: 8 kB / 0.764 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.61, allocations: 103.8 kB / 0.7641 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.61, allocations: 8 kB / 0.7641 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.6106, allocations: 91.53 kB / 0.7642 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.6106, allocations: 27.97 kB / 0.7642 GB, free: 6.559 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 (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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004846/0.6111, allocations: 476.7 kB / 0.7647 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.6112, allocations: 102.7 kB / 0.7648 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008515/0.6121, allocations: 499 kB / 0.7653 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.6121, allocations: 4 kB / 0.7653 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6121, allocations: 4 kB / 0.7653 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6121, allocations: 3.938 kB / 0.7653 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.614, allocations: 1.395 MB / 0.7666 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.614, allocations: 0 / 0.7666 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.6143, allocations: 67.89 kB / 0.7667 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.6143, allocations: 4.219 kB / 0.7667 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.6143, allocations: 11.98 kB / 0.7667 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.6143, allocations: 7.984 kB / 0.7667 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.6143, allocations: 4 kB / 0.7667 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.6151, allocations: 0.6082 MB / 0.7673 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.6154, allocations: 219.8 kB / 0.7675 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.6155, allocations: 12 kB / 0.7676 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.616, allocations: 43.95 kB / 0.7676 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.6161, allocations: 35.89 kB / 0.7676 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.6161, allocations: 12 kB / 0.7676 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008914/0.617, allocations: 0.7914 MB / 0.7684 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.617, allocations: 0 / 0.7684 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001008/0.618, allocations: 415.3 kB / 0.7688 GB, free: 1.723 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003643/0.6184, allocations: 182.8 kB / 0.769 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.6196, allocations: 0.8326 MB / 0.7698 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6197, allocations: 4 kB / 0.7698 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.62, allocations: 197.3 kB / 0.77 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.6221, allocations: 447.3 kB / 0.7704 GB, free: 72 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.6246, allocations: 2.11 MB / 0.7725 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.6253, allocations: 1.173 MB / 0.7736 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.6255, allocations: 83.36 kB / 0.7737 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.6255, allocations: 0 / 0.7737 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Templates: time 0.02066/0.6461, allocations: 15.76 MB / 0.7891 GB, free: 13 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.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