Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 92.31 kB / 17.63 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002204/0.002204, allocations: 202.3 kB / 18.54 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 227.3 MB / 246.6 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2619/0.2619, allocations: 45.91 MB / 344.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002573, allocations: 4 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 63.47 MB / 482.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03939/0.1819, allocations: 36.69 MB / 0.5067 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3563/0.5383, allocations: 18.85 MB / 0.5251 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.54, allocations: 25 kB / 0.5251 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.5415, allocations: 370.9 kB / 0.5254 GB, free: 11.78 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.01695/0.5584, allocations: 4.072 MB / 0.5294 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008362/0.5668, allocations: 2.03 MB / 0.5314 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003763/0.5706, allocations: 2.376 MB / 0.5337 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008491/0.5715, allocations: 409.2 kB / 0.5341 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.5834, allocations: 6.429 MB / 0.5404 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01273/0.5962, allocations: 9.119 MB / 0.5493 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.5965, allocations: 36 kB / 0.5493 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01791/0.6144, allocations: 6.951 MB / 0.5561 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006429/0.6151, allocations: 242.7 kB / 0.5564 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.6157, allocations: 189.3 kB / 0.5565 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009349/0.6251, allocations: 3.481 MB / 0.5599 GB, free: 8.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.6251, allocations: 0 / 0.5599 GB, free: 8.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6251, allocations: 0 / 0.5599 GB, free: 8.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.6251, allocations: 4 kB / 0.5599 GB, free: 8.824 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.004734/0.6299, allocations: 1.542 MB / 0.5614 GB, free: 7.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6299, allocations: 8.031 kB / 0.5615 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.6322, allocations: 322.6 kB / 0.5618 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6332, allocations: 0.5348 MB / 0.5623 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.6334, allocations: 120.2 kB / 0.5624 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6335, allocations: 59.95 kB / 0.5625 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/0.6364, allocations: 1.208 MB / 0.5636 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.6365, allocations: 15.92 kB / 0.5637 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.6366, allocations: 27.67 kB / 0.5637 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.079e-05/0.6367, allocations: 41.3 kB / 0.5637 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.6393, allocations: 1.059 MB / 0.5648 GB, free: 3.742 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.007413/0.6467, allocations: 5.633 MB / 0.5703 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.6491, allocations: 0.794 MB / 0.571 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.6497, allocations: 298.4 kB / 0.5713 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03262/0.6823, allocations: 17.42 MB / 0.5883 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.6824, allocations: 38.56 kB / 0.5884 GB, free: 9.051 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/0.6824, allocations: 0 / 0.5884 GB, free: 9.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.007015/0.6894, allocations: 2.374 MB / 0.5907 GB, free: 6.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.6896, allocations: 170.6 kB / 0.5908 GB, free: 6.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.6904, allocations: 0.6015 MB / 0.5914 GB, free: 5.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.6905, allocations: 37.7 kB / 0.5915 GB, free: 5.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.6908, allocations: 386.9 kB / 0.5918 GB, free: 5.387 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.691, allocations: 173.1 kB / 0.592 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.691, allocations: 16 kB / 0.592 GB, free: 5.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6912, allocations: 374.8 kB / 0.5924 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/0.6919, allocations: 293.8 kB / 0.5926 GB, free: 4.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/0.6927, allocations: 0.6161 MB / 0.5933 GB, free: 3.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/0.6935, allocations: 376.5 kB / 0.5936 GB, free: 3.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.6935, allocations: 4 kB / 0.5936 GB, free: 3.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001936/0.6954, allocations: 0.9923 MB / 0.5946 GB, free: 2.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.6955, allocations: 8 kB / 0.5946 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.6955, allocations: 12 kB / 0.5946 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.6958, allocations: 64.81 kB / 0.5947 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.6971, allocations: 307.6 kB / 0.595 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.6989, allocations: 1.98 MB / 0.5969 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/0.6997, allocations: 80 kB / 0.597 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.6998, allocations: 51.86 kB / 0.597 GB, free: 15.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004584/0.7002, allocations: 283.8 kB / 0.5973 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.7004, allocations: 67.25 kB / 0.5974 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003407/0.7038, allocations: 2.609 MB / 0.5999 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/0.7039, allocations: 35.94 kB / 0.5999 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7039, allocations: 0 / 0.5999 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.7039, allocations: 0 / 0.5999 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/0.7088, allocations: 3.791 MB / 0.6036 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7088, allocations: 0 / 0.6036 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.7099, allocations: 243.7 kB / 0.6039 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/0.7103, allocations: 96.45 kB / 0.604 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.7104, allocations: 15.98 kB / 0.604 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.7119, allocations: 1.999 MB / 0.6059 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.712, allocations: 256 / 0.6059 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.7151, allocations: 2.381 MB / 0.6083 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.7158, allocations: 330.9 kB / 0.6086 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.7159, allocations: 12 kB / 0.6086 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.7166, allocations: 63.86 kB / 0.6086 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.7167, allocations: 48.48 kB / 0.6087 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.7168, allocations: 19.98 kB / 0.6087 GB, free: 3.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008091/0.7176, allocations: 0.5576 MB / 0.6093 GB, free: 2.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7176, allocations: 0 / 0.6093 GB, free: 2.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003696/0.7213, allocations: 1.097 MB / 0.6103 GB, free: 1.844 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00544/0.7267, allocations: 1.23 MB / 0.6115 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003482/0.7302, allocations: 1.097 MB / 0.6126 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.7303, allocations: 4 kB / 0.6126 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.7324, allocations: 0.8012 MB / 0.6134 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/0.7357, allocations: 383.1 kB / 0.6137 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006798/0.7425, allocations: 3.093 MB / 0.6168 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.7438, allocations: 1.154 MB / 0.6179 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.7441, allocations: 67.44 kB / 0.618 GB, free: 10.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.433e-06/0.7441, allocations: 0 / 0.618 GB, free: 10.07 MB / 462.1 MB Notification: Performance of Templates: time 0.07797/0.8221, allocations: 39.46 MB / 0.6565 GB, free: 2.637 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o] Error 1