Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.000876/0.0008762, allocations: 96.05 kB / 17.63 MB, free: 5.719 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.0009174/0.0009173, allocations: 178.9 kB / 18.52 MB, free: 5.172 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.488/1.488, allocations: 223.2 MB / 242.5 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 44.22 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003703, allocations: 8.625 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03876/0.1866, allocations: 36.61 MB / 0.4969 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3196/0.5063, allocations: 18.85 MB / 0.5153 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.5078, allocations: 25.5 kB / 0.5153 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.5093, allocations: 372.7 kB / 0.5157 GB, free: 12.19 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01714/0.5265, allocations: 4.072 MB / 0.5196 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008002/0.5345, allocations: 2.025 MB / 0.5216 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004219/0.5387, allocations: 2.357 MB / 0.5239 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009811/0.5397, allocations: 394.8 kB / 0.5243 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.5543, allocations: 6.41 MB / 0.5306 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01433/0.5686, allocations: 9.103 MB / 0.5395 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.5689, allocations: 36 kB / 0.5395 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.5852, allocations: 6.82 MB / 0.5461 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007046/0.586, allocations: 238.4 kB / 0.5464 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.5866, allocations: 189.6 kB / 0.5466 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008894/0.5955, allocations: 3.383 MB / 0.5499 GB, free: 15.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.5955, allocations: 0 / 0.5499 GB, free: 15.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5956, allocations: 4 kB / 0.5499 GB, free: 15.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.5956, allocations: 0 / 0.5499 GB, free: 15.53 MB / 398.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.004955/0.6005, allocations: 1.465 MB / 0.5513 GB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6006, allocations: 8.562 kB / 0.5513 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.6021, allocations: 224.6 kB / 0.5515 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009104/0.603, allocations: 0.5318 MB / 0.552 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.6031, allocations: 110.6 kB / 0.5521 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.6033, allocations: 58.73 kB / 0.5522 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.6052, allocations: 1.074 MB / 0.5532 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.6053, allocations: 7.922 kB / 0.5533 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.6054, allocations: 31.17 kB / 0.5533 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-05/0.6054, allocations: 39.98 kB / 0.5533 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.607, allocations: 0.8302 MB / 0.5541 GB, free: 11.71 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.005881/0.6129, allocations: 5.545 MB / 0.5595 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.6141, allocations: 0.5309 MB / 0.5601 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.6144, allocations: 208.8 kB / 0.5603 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08915/0.7036, allocations: 47.9 MB / 0.607 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.069e-05/0.7037, allocations: 41.81 kB / 0.6071 GB, free: 1.285 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.246e-06/0.7037, allocations: 4 kB / 0.6071 GB, free: 1.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.007095/0.7108, allocations: 2.12 MB / 0.6092 GB, free: 15.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.711, allocations: 191.9 kB / 0.6093 GB, free: 14.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009508/0.7119, allocations: 0.6389 MB / 0.61 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.712, allocations: 33.7 kB / 0.61 GB, free: 14.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.7123, allocations: 401.3 kB / 0.6104 GB, free: 13.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.7125, allocations: 171.4 kB / 0.6105 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.7126, allocations: 12 kB / 0.6106 GB, free: 13.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.7128, allocations: 378.8 kB / 0.6109 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.7133, allocations: 229.9 kB / 0.6111 GB, free: 13.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.714, allocations: 0.5783 MB / 0.6117 GB, free: 12.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.7146, allocations: 346.7 kB / 0.612 GB, free: 12.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.7147, allocations: 4 kB / 0.612 GB, free: 12.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00166/0.7163, allocations: 0.8841 MB / 0.6129 GB, free: 11.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.7164, allocations: 12 kB / 0.6129 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.7164, allocations: 12 kB / 0.6129 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/0.7192, allocations: 273 kB / 0.6132 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7204, allocations: 283.6 kB / 0.6134 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.7225, allocations: 2.018 MB / 0.6154 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.7233, allocations: 56.06 kB / 0.6155 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.79e-05/0.7234, allocations: 44 kB / 0.6155 GB, free: 8.277 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.0005095/0.724, allocations: 275.8 kB / 0.6158 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.7242, allocations: 77.41 kB / 0.6159 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.727, allocations: 2.026 MB / 0.6178 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-05/0.727, allocations: 35.98 kB / 0.6179 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.727, allocations: 0 / 0.6179 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.727, allocations: 3.984 kB / 0.6179 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004272/0.7313, allocations: 2.997 MB / 0.6208 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.7313, allocations: 0 / 0.6208 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.7322, allocations: 187.8 kB / 0.621 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.7339, allocations: 307.9 kB / 0.6213 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.734, allocations: 15.98 kB / 0.6213 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.7362, allocations: 2.073 MB / 0.6233 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.7362, allocations: 3.953 kB / 0.6233 GB, free: 52 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.739, allocations: 1.94 MB / 0.6252 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.7397, allocations: 283.4 kB / 0.6255 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.7399, allocations: 12 kB / 0.6255 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005809/0.7405, allocations: 35.95 kB / 0.6255 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.7406, allocations: 40.28 kB / 0.6256 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.7406, allocations: 22.72 kB / 0.6256 GB, free: 13.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.7417, allocations: 0.5576 MB / 0.6261 GB, free: 13.13 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7417, allocations: 0 / 0.6261 GB, free: 13.13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005298/0.747, allocations: 1.097 MB / 0.6272 GB, free: 12.04 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.006299/0.7533, allocations: 1.189 MB / 0.6284 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.7555, allocations: 0.9132 MB / 0.6293 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.7555, allocations: 0 / 0.6293 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.7569, allocations: 0.628 MB / 0.6299 GB, free: 9.414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.7594, allocations: 392.5 kB / 0.6302 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.7637, allocations: 2.618 MB / 0.6328 GB, free: 6.387 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/0.7645, allocations: 1.097 MB / 0.6339 GB, free: 5.262 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.7648, allocations: 67.44 kB / 0.6339 GB, free: 5.195 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7648, allocations: 0 / 0.6339 GB, free: 5.195 MB / 478.1 MB Notification: Performance of Templates: time 0.06587/0.8307, allocations: 37.04 MB / 0.6701 GB, free: 196 kB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f ModelicaTest_4.0.0_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/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 OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o] Error 1