Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008283, allocations: 92.62 kB / 16.33 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 185.1 kB / 17.22 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4098/0.4098, allocations: 43.55 MB / 315.2 MB, free: 8.828 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005584/0.0005584, allocations: 20 kB / 384.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 58.85 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.268/0.4091, allocations: 36.62 MB / 480 MB, free: 29.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01769/0.4269, allocations: 18.86 MB / 498.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.4278, allocations: 29.47 kB / 498.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009759/0.4288, allocations: 371.1 kB / 499.3 MB, free: 15.65 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0119/0.4407, allocations: 4.055 MB / 0.4916 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006099/0.4468, allocations: 2.032 MB / 0.4935 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002743/0.4496, allocations: 2.355 MB / 0.4958 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006611/0.4502, allocations: 398.2 kB / 0.4962 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.011/0.4612, allocations: 6.403 MB / 0.5025 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01329/0.4746, allocations: 9.099 MB / 0.5114 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.4747, allocations: 32.75 kB / 0.5114 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.4856, allocations: 6.824 MB / 0.518 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.4859, allocations: 239.2 kB / 0.5183 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.4862, allocations: 185.3 kB / 0.5185 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003761/0.49, allocations: 3.387 MB / 0.5218 GB, free: 252 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.49, allocations: 0 / 0.5218 GB, free: 252 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.49, allocations: 4 kB / 0.5218 GB, free: 248 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.49, allocations: 0 / 0.5218 GB, free: 248 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003186/0.4932, allocations: 1.461 MB / 0.5232 GB, free: 14.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4933, allocations: 16.02 kB / 0.5232 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.4946, allocations: 218.8 kB / 0.5234 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007795/0.4954, allocations: 0.5277 MB / 0.5239 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.4955, allocations: 111.8 kB / 0.524 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.002e-05/0.4956, allocations: 63.94 kB / 0.5241 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.4974, allocations: 1.068 MB / 0.5251 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.4974, allocations: 7.938 kB / 0.5252 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.274e-05/0.4975, allocations: 28 kB / 0.5252 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/0.4976, allocations: 48.91 kB / 0.5252 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.4991, allocations: 0.8116 MB / 0.526 GB, free: 11.68 MB / 398.1 MB 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.005327/0.5044, allocations: 5.558 MB / 0.5314 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.5056, allocations: 0.5379 MB / 0.532 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.5059, allocations: 210.5 kB / 0.5322 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08257/0.5885, allocations: 47.88 MB / 0.5789 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.5886, allocations: 47.12 kB / 0.579 GB, free: 15.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.435e-06/0.5886, allocations: 4 kB / 0.579 GB, free: 15.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.005945/0.5946, allocations: 2.123 MB / 0.581 GB, free: 13.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.5947, allocations: 187.9 kB / 0.5812 GB, free: 13.03 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.5954, allocations: 0.6328 MB / 0.5818 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.5955, allocations: 33.7 kB / 0.5819 GB, free: 12.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.5958, allocations: 407.2 kB / 0.5823 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.5959, allocations: 165.7 kB / 0.5824 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.596, allocations: 16 kB / 0.5824 GB, free: 11.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5961, allocations: 374.8 kB / 0.5828 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.5965, allocations: 229.9 kB / 0.583 GB, free: 11.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/0.5971, allocations: 0.5828 MB / 0.5836 GB, free: 10.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.5976, allocations: 351.6 kB / 0.5839 GB, free: 10.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.5977, allocations: 4 kB / 0.5839 GB, free: 10.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001309/0.599, allocations: 0.8881 MB / 0.5848 GB, free: 9.168 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.599, allocations: 8 kB / 0.5848 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.599, allocations: 12 kB / 0.5848 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.6016, allocations: 276.9 kB / 0.5851 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.6027, allocations: 279.6 kB / 0.5853 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.6043, allocations: 2.022 MB / 0.5873 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.6047, allocations: 56.06 kB / 0.5874 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.6048, allocations: 44 kB / 0.5874 GB, free: 6.324 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.6052, allocations: 281.4 kB / 0.5877 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.6053, allocations: 71.16 kB / 0.5877 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.6075, allocations: 2.028 MB / 0.5897 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.6076, allocations: 23.97 kB / 0.5897 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.6076, allocations: 3.938 kB / 0.5898 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.6076, allocations: 3.984 kB / 0.5898 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.6108, allocations: 2.992 MB / 0.5927 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6109, allocations: 0 / 0.5927 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.6117, allocations: 187.8 kB / 0.5929 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.6131, allocations: 311.9 kB / 0.5932 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.6131, allocations: 11.98 kB / 0.5932 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.6147, allocations: 2.078 MB / 0.5952 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6148, allocations: 3.984 kB / 0.5952 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.6168, allocations: 1.948 MB / 0.5971 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.6171, allocations: 287.2 kB / 0.5974 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.6172, allocations: 12 kB / 0.5974 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.6177, allocations: 39.89 kB / 0.5974 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.6177, allocations: 32.39 kB / 0.5975 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.6178, allocations: 16 kB / 0.5975 GB, free: 11.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000668/0.6185, allocations: 0.5615 MB / 0.598 GB, free: 11.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6185, allocations: 0 / 0.598 GB, free: 11.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00314/0.6216, allocations: 1.093 MB / 0.5991 GB, free: 10.07 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00349/0.6251, allocations: 1.187 MB / 0.6002 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.6268, allocations: 0.9051 MB / 0.6011 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6268, allocations: 0 / 0.6011 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.6279, allocations: 0.6319 MB / 0.6017 GB, free: 7.348 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.6297, allocations: 386.3 kB / 0.6021 GB, free: 6.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.6327, allocations: 2.634 MB / 0.6047 GB, free: 4.297 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.6334, allocations: 1.093 MB / 0.6058 GB, free: 3.176 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.6335, allocations: 67.44 kB / 0.6058 GB, free: 3.113 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6335, allocations: 0 / 0.6058 GB, free: 3.113 MB / 478.1 MB Notification: Performance of Templates: time 0.2759/0.9095, allocations: 37.02 MB / 0.642 GB, free: 163.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o] Error 1