Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001025/0.001025, allocations: 101.7 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.001595/0.001595, allocations: 177.1 kB / 16.58 MB, free: 6.402 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.504/1.504, allocations: 223.2 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.3 MB / 427 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 12 kB / 0.5076 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 82.32 MB / 0.588 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6323/0.8593, allocations: 146.7 MB / 0.7313 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003688/0.863, allocations: 1.652 MB / 0.7329 GB, free: 2.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.8635, allocations: 12.03 kB / 0.7329 GB, free: 2.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.8641, allocations: 113 kB / 0.733 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.8656, allocations: 394.6 kB / 0.7334 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.867, allocations: 327.9 kB / 0.7337 GB, free: 1.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004083/0.8711, allocations: 2.983 MB / 0.7366 GB, free: 476 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.8725, allocations: 0.6855 MB / 0.7373 GB, free: 232 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.8749, allocations: 0.8637 MB / 0.7381 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.8762, allocations: 0.7067 MB / 0.7388 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.461e-05/0.8763, allocations: 35.06 kB / 0.7388 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.878, allocations: 0.5551 MB / 0.7394 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.8784, allocations: 289.3 kB / 0.7397 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.8788, allocations: 232.8 kB / 0.7399 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.8803, allocations: 1.017 MB / 0.7409 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.8803, allocations: 4 kB / 0.7409 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8803, allocations: 0 / 0.7409 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.8803, allocations: 0.9375 kB / 0.7409 GB, free: 14.8 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.002368/0.8827, allocations: 1.299 MB / 0.7422 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.8827, allocations: 8.781 kB / 0.7422 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007841/0.8835, allocations: 189.4 kB / 0.7423 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.885, allocations: 0.7963 MB / 0.7431 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.885, allocations: 47.86 kB / 0.7432 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.8851, allocations: 59.69 kB / 0.7432 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.8864, allocations: 0.7979 MB / 0.744 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.8864, allocations: 0 / 0.744 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.8865, allocations: 22.41 kB / 0.744 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.8865, allocations: 15.97 kB / 0.744 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/0.8874, allocations: 0.5485 MB / 0.7446 GB, free: 12.23 MB / 0.5606 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.004393/0.8918, allocations: 4.603 MB / 0.7491 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/0.8926, allocations: 430.3 kB / 0.7495 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.893, allocations: 254 kB / 0.7497 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.8933, allocations: 194.2 kB / 0.7499 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.8939, allocations: 294.6 kB / 0.7502 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.8939, allocations: 0 / 0.7502 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001383/0.8953, allocations: 0.647 MB / 0.7508 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.8953, allocations: 81.11 kB / 0.7509 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.8967, allocations: 1.118 MB / 0.752 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.8968, allocations: 37.7 kB / 0.752 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.8973, allocations: 0.4932 MB / 0.7525 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.8974, allocations: 102.5 kB / 0.7526 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.8974, allocations: 8 kB / 0.7526 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8976, allocations: 322 kB / 0.7529 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.8979, allocations: 188.7 kB / 0.7531 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.8986, allocations: 0.494 MB / 0.7536 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.899, allocations: 292 kB / 0.7539 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.899, allocations: 0 / 0.7539 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001109/0.9001, allocations: 0.6813 MB / 0.7545 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.9004, allocations: 275.5 kB / 0.7548 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9004, allocations: 11.95 kB / 0.7548 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.9004, allocations: 12 kB / 0.7548 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.9009, allocations: 111.8 kB / 0.7549 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.903e-05/0.9009, allocations: 8 kB / 0.7549 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.9017, allocations: 115.2 kB / 0.755 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.9017, allocations: 24.28 kB / 0.7551 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.9017, allocations: 8 kB / 0.7551 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008528/0.9026, allocations: 0.5411 MB / 0.7556 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.9026, allocations: 4 kB / 0.7556 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.9026, allocations: 8 kB / 0.7556 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.903, allocations: 108.5 kB / 0.7557 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.903, allocations: 23.86 kB / 0.7557 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.9036, allocations: 87.62 kB / 0.7558 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.9036, allocations: 27.98 kB / 0.7558 GB, free: 204 kB / 0.5606 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.0005908/0.9042, allocations: 464.6 kB / 0.7563 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.9043, allocations: 102.7 kB / 0.7564 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008882/0.9052, allocations: 0.5003 MB / 0.7569 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.9052, allocations: 4 kB / 0.7569 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9053, allocations: 0 / 0.7569 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9053, allocations: 0 / 0.7569 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.9074, allocations: 1.408 MB / 0.7583 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9074, allocations: 3.938 kB / 0.7583 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.9076, allocations: 63.95 kB / 0.7583 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.9076, allocations: 4 kB / 0.7583 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.9077, allocations: 12.83 kB / 0.7583 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.9077, allocations: 7.938 kB / 0.7583 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9077, allocations: 0 / 0.7583 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.9085, allocations: 0.6146 MB / 0.7589 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.9088, allocations: 219.8 kB / 0.7592 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.9089, allocations: 12 kB / 0.7592 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.9094, allocations: 59.75 kB / 0.7592 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.9095, allocations: 31.45 kB / 0.7593 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.9095, allocations: 12 kB / 0.7593 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001061/0.9106, allocations: 0.7875 MB / 0.76 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9106, allocations: 4 kB / 0.76 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001204/0.9118, allocations: 403.4 kB / 0.7604 GB, free: 11.36 MB / 0.5762 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.0004466/0.9122, allocations: 178.7 kB / 0.7606 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.9136, allocations: 0.8064 MB / 0.7614 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9136, allocations: 0 / 0.7614 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.914, allocations: 195.7 kB / 0.7616 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.9158, allocations: 463.2 kB / 0.762 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.9188, allocations: 2.011 MB / 0.764 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.9195, allocations: 1.177 MB / 0.7651 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.9197, allocations: 75.42 kB / 0.7652 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.9198, allocations: 4 kB / 0.7652 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of Templates: time 0.02682/0.9466, allocations: 15.7 MB / 0.7805 GB, free: 6.789 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o] Error 1