Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.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.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 102.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.0009891/0.0009891, allocations: 173.8 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.541/1.541, allocations: 223.2 MB / 240.6 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.067/1.067, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 8.625 kB / 0.5076 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2012, allocations: 82.32 MB / 0.588 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.5175/0.7187, allocations: 71.73 MB / 0.658 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0396/0.7584, allocations: 24.21 MB / 0.6817 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006187/0.7646, allocations: 102 kB / 0.6818 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005715/0.7704, allocations: 1.104 MB / 0.6828 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.7834, allocations: 2.873 MB / 0.6857 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00975/0.7932, allocations: 2.222 MB / 0.6878 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01881/0.812, allocations: 8.044 MB / 0.6957 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00775/0.8198, allocations: 1.969 MB / 0.6976 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009699/0.8295, allocations: 2.409 MB / 0.7 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007191/0.8368, allocations: 2.126 MB / 0.702 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001691/0.8385, allocations: 138 kB / 0.7022 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007828/0.8463, allocations: 1.548 MB / 0.7037 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.8493, allocations: 1.093 MB / 0.7047 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004922/0.8543, allocations: 0.7539 MB / 0.7055 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.8651, allocations: 4.555 MB / 0.7099 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8652, allocations: 0 / 0.7099 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8652, allocations: 0 / 0.7099 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002754/0.8655, allocations: 0.9375 kB / 0.7099 GB, free: 10.92 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.01386/0.8794, allocations: 4.103 MB / 0.7139 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8794, allocations: 9.031 kB / 0.7139 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/0.8851, allocations: 0.9989 MB / 0.7149 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.897, allocations: 3.629 MB / 0.7185 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/0.898, allocations: 342.3 kB / 0.7188 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009412/0.899, allocations: 176.3 kB / 0.719 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007309/0.9063, allocations: 2.449 MB / 0.7213 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.153e-05/0.9065, allocations: 0 / 0.7213 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004445/0.9069, allocations: 67.66 kB / 0.7214 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.907, allocations: 39.41 kB / 0.7214 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006039/0.913, allocations: 2.025 MB / 0.7234 GB, free: 1.824 MB / 0.5294 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.02477/0.9378, allocations: 10.58 MB / 0.7338 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004885/0.9427, allocations: 1.776 MB / 0.7355 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.9449, allocations: 0.8354 MB / 0.7363 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008602/0.9535, allocations: 3.735 MB / 0.74 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.9536, allocations: 47.16 kB / 0.74 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002072/0.9557, allocations: 174.6 kB / 0.7402 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 6.772e-06/0.9557, allocations: 0 / 0.7402 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.008881/0.9646, allocations: 2.849 MB / 0.7429 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.9647, allocations: 60.06 kB / 0.743 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008258/0.973, allocations: 3.674 MB / 0.7466 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005096/0.9735, allocations: 53.69 kB / 0.7466 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.9754, allocations: 1.576 MB / 0.7482 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006188/0.976, allocations: 284 kB / 0.7485 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.9762, allocations: 24 kB / 0.7485 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.9764, allocations: 373.8 kB / 0.7488 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.9788, allocations: 0.9915 MB / 0.7498 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/0.9817, allocations: 1.72 MB / 0.7515 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.9842, allocations: 1.123 MB / 0.7526 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.9842, allocations: 8 kB / 0.7526 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007079/0.9913, allocations: 2.989 MB / 0.7555 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006584/0.992, allocations: 0.7169 MB / 0.7562 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.254e-05/0.9921, allocations: 24 kB / 0.7562 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.9927, allocations: 148.8 kB / 0.7564 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.9946, allocations: 475.2 kB / 0.7568 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000915/0.9955, allocations: 0.806 MB / 0.7576 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/0.9994, allocations: 264.4 kB / 0.7579 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004581/0.9998, allocations: 132 kB / 0.758 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.9999, allocations: 5.875 kB / 0.758 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006818/1.007, allocations: 2.984 MB / 0.7609 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.393e-05/1.007, allocations: 23.98 kB / 0.7609 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.008, allocations: 396.8 kB / 0.7613 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.01, allocations: 431.4 kB / 0.7617 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/1.017, allocations: 4.48 MB / 0.7661 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/1.021, allocations: 224.4 kB / 0.7663 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005944/1.022, allocations: 120 kB / 0.7664 GB, free: 3.953 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.002791/1.025, allocations: 0.883 MB / 0.7673 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/1.026, allocations: 319.9 kB / 0.7676 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/1.033, allocations: 2.467 MB / 0.77 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/1.034, allocations: 11.98 kB / 0.77 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.034, allocations: 3.938 kB / 0.77 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/1.034, allocations: 3.984 kB / 0.77 GB, free: 256 kB / 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 postOpt removeSimpleEquations (simulation): time 0.01414/1.048, allocations: 4.644 MB / 0.7746 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.048, allocations: 4 kB / 0.7746 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.049, allocations: 291.8 kB / 0.7748 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/1.05, allocations: 140.7 kB / 0.775 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.05, allocations: 39.92 kB / 0.775 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007417/1.051, allocations: 0.7319 MB / 0.7757 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.051, allocations: 0 / 0.7757 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008109/1.059, allocations: 3.339 MB / 0.779 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/1.061, allocations: 0.563 MB / 0.7795 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/1.063, allocations: 19.94 kB / 0.7796 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/1.066, allocations: 227.6 kB / 0.7798 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/1.066, allocations: 76.78 kB / 0.7798 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/1.066, allocations: 60.02 kB / 0.7799 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007003/1.073, allocations: 2.515 MB / 0.7824 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.11e-07/1.073, allocations: 0 / 0.7824 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01005/1.084, allocations: 1.517 MB / 0.7838 GB, free: 1.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002291/1.086, allocations: 0.609 MB / 0.7844 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009736/1.096, allocations: 3.824 MB / 0.7882 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.096, allocations: 4 kB / 0.7882 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002482/1.098, allocations: 0.9234 MB / 0.7891 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/1.109, allocations: 1.639 MB / 0.7907 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.125, allocations: 6.781 MB / 0.7973 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/1.128, allocations: 2.083 MB / 0.7993 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.129, allocations: 263.3 kB / 0.7996 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of SimCode: time 1.533e-06/1.129, allocations: 3.938 kB / 0.7996 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of Templates: time 0.5269/1.656, allocations: 73.44 MB / 0.8713 GB, free: 209.4 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.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.Movers.Validation.PumpCurveDerivativesCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveDerivativesCalcHelperMain.o] Error 1