Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 99.59 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.0009536/0.0009537, allocations: 175.3 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.448/1.448, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7774/0.7774, allocations: 132.3 MB / 424 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003135, allocations: 9.875 kB / 0.504 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4844, allocations: 81.57 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1823/0.6667, allocations: 146.7 MB / 0.727 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.6698, allocations: 1.637 MB / 0.7286 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.6701, allocations: 7.938 kB / 0.7286 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.6706, allocations: 111.2 kB / 0.7287 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.6718, allocations: 398.1 kB / 0.7291 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009956/0.6728, allocations: 329.8 kB / 0.7294 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.6757, allocations: 2.993 MB / 0.7323 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.6769, allocations: 0.6913 MB / 0.733 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.6787, allocations: 0.8676 MB / 0.7338 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008823/0.6796, allocations: 0.6962 MB / 0.7345 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.6797, allocations: 36 kB / 0.7345 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.681, allocations: 0.5574 MB / 0.7351 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.6813, allocations: 286.9 kB / 0.7354 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.6816, allocations: 233.1 kB / 0.7356 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.6829, allocations: 1.017 MB / 0.7366 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6829, allocations: 0 / 0.7366 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6829, allocations: 0 / 0.7366 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.683, 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.002092/0.6851, allocations: 1.303 MB / 0.7379 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6851, allocations: 8.031 kB / 0.7379 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007199/0.6858, allocations: 190.5 kB / 0.738 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.6872, allocations: 0.7962 MB / 0.7388 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.6872, allocations: 41 kB / 0.7389 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.6873, allocations: 64 kB / 0.7389 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.6885, allocations: 0.7888 MB / 0.7397 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.6885, allocations: 7.938 kB / 0.7397 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.6886, allocations: 19.98 kB / 0.7397 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.6886, allocations: 16 kB / 0.7397 GB, free: 156 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008933/0.6895, allocations: 0.5423 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.004029/0.6936, allocations: 4.614 MB / 0.7448 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.6943, allocations: 422.2 kB / 0.7452 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.6946, allocations: 251 kB / 0.7454 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.695, allocations: 194.2 kB / 0.7456 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/0.6955, allocations: 297.1 kB / 0.7459 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.903e-06/0.6955, allocations: 0 / 0.7459 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.00131/0.6968, allocations: 0.6468 MB / 0.7465 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.6969, allocations: 85.06 kB / 0.7466 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.6982, allocations: 1.118 MB / 0.7477 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.6982, allocations: 33.7 kB / 0.7477 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.6986, allocations: 0.4883 MB / 0.7482 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.6988, allocations: 110.5 kB / 0.7483 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.6988, allocations: 8 kB / 0.7483 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6989, allocations: 322 kB / 0.7486 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.6993, allocations: 188.7 kB / 0.7488 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/0.6998, allocations: 0.494 MB / 0.7493 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.7003, allocations: 291.1 kB / 0.7496 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.7003, allocations: 0 / 0.7496 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001048/0.7013, allocations: 0.6904 MB / 0.7502 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.7015, allocations: 279.7 kB / 0.7505 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.7016, allocations: 8 kB / 0.7505 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.7016, allocations: 11.94 kB / 0.7505 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.7033, allocations: 387.4 kB / 0.7509 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.7067, allocations: 6.087 MB / 0.7568 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.7075, allocations: 111.4 kB / 0.7569 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/0.7076, allocations: 27.94 kB / 0.757 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.7076, allocations: 4 kB / 0.757 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008794/0.7085, allocations: 0.5365 MB / 0.7575 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.7085, allocations: 12.03 kB / 0.7575 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.7085, allocations: 8 kB / 0.7575 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.709, allocations: 155.8 kB / 0.7577 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.709, allocations: 15.98 kB / 0.7577 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.7097, allocations: 91.53 kB / 0.7578 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.7097, allocations: 24 kB / 0.7578 GB, free: 12.68 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006092/0.7103, allocations: 472.7 kB / 0.7582 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.7105, allocations: 102.7 kB / 0.7583 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008745/0.7113, allocations: 0.495 MB / 0.7588 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7114, allocations: 4 kB / 0.7588 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7114, allocations: 0 / 0.7588 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.7114, allocations: 0 / 0.7588 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.7133, allocations: 1.399 MB / 0.7602 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7134, allocations: 4 kB / 0.7602 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.7139, allocations: 147.8 kB / 0.7603 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.714, allocations: 4 kB / 0.7603 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.714, allocations: 8 kB / 0.7603 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.717, allocations: 6.021 MB / 0.7662 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.717, allocations: 8.25 kB / 0.7662 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009137/0.718, allocations: 0.6044 MB / 0.7668 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.7184, allocations: 223.8 kB / 0.767 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7185, allocations: 11.95 kB / 0.767 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.7189, allocations: 63.78 kB / 0.7671 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.719, allocations: 31.91 kB / 0.7671 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.719, allocations: 15.98 kB / 0.7671 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001056/0.7201, allocations: 0.7797 MB / 0.7679 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7201, allocations: 0 / 0.7679 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00121/0.7213, allocations: 415.4 kB / 0.7683 GB, free: 1.508 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000447/0.7218, allocations: 185.9 kB / 0.7685 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0029/0.7247, allocations: 1.107 MB / 0.7696 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7247, allocations: 0 / 0.7696 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000754/0.7255, allocations: 299.6 kB / 0.7698 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.7274, allocations: 453.5 kB / 0.7703 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.7304, allocations: 2.079 MB / 0.7723 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007156/0.7311, allocations: 1.18 MB / 0.7735 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.7313, allocations: 63.42 kB / 0.7735 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of SimCode: time 1.673e-06/0.7313, allocations: 4 kB / 0.7735 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.3817/1.113, allocations: 64.09 MB / 0.8361 GB, free: 211.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlowCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowCalcHelperMain.o] Error 1