Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001093, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 7.984 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1571, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5809/0.738, allocations: 161.8 MB / 0.6289 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009821/0.7479, allocations: 6.181 MB / 0.6349 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.7493, allocations: 27.81 kB / 0.6349 GB, free: 14.42 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.7504, allocations: 302.1 kB / 0.6352 GB, free: 14.12 MB / 478.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.004621/0.7551, allocations: 1.397 MB / 0.6366 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.7588, allocations: 1.061 MB / 0.6376 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003572/0.7624, allocations: 2.566 MB / 0.6401 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008841/0.7633, allocations: 452.2 kB / 0.6405 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.7675, allocations: 1.579 MB / 0.6421 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/0.7708, allocations: 1.586 MB / 0.6436 GB, free: 5.477 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.771, allocations: 36 kB / 0.6437 GB, free: 5.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.7745, allocations: 1.217 MB / 0.6449 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006148/0.7751, allocations: 422.9 kB / 0.6453 GB, free: 3.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004113/0.7755, allocations: 229.2 kB / 0.6455 GB, free: 3.578 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.7779, allocations: 1.543 MB / 0.647 GB, free: 2.031 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7779, allocations: 0 / 0.647 GB, free: 2.031 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.082e-06/0.7779, allocations: 4 kB / 0.647 GB, free: 2.027 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.778, allocations: 7.938 kB / 0.647 GB, free: 2.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002899/0.7809, allocations: 1.243 MB / 0.6482 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7809, allocations: 12.03 kB / 0.6482 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.7822, allocations: 294.5 kB / 0.6485 GB, free: 436 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.7833, allocations: 0.5863 MB / 0.6491 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.7835, allocations: 112.7 kB / 0.6492 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.7836, allocations: 67.92 kB / 0.6492 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.7856, allocations: 1.267 MB / 0.6505 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.7856, allocations: 0 / 0.6505 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.7857, allocations: 35.95 kB / 0.6505 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.7858, allocations: 81.27 kB / 0.6506 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.7876, allocations: 1.063 MB / 0.6516 GB, free: 13.09 MB / 494.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.006713/0.7943, allocations: 4.822 MB / 0.6563 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.7948, allocations: 294.5 kB / 0.6566 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.7951, allocations: 144.8 kB / 0.6568 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.7952, allocations: 97.05 kB / 0.6569 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.7953, allocations: 42.55 kB / 0.6569 GB, free: 7.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.645e-06/0.7953, allocations: 0 / 0.6569 GB, free: 7.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.005639/0.8009, allocations: 1.756 MB / 0.6586 GB, free: 5.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.8011, allocations: 132.5 kB / 0.6587 GB, free: 5.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.8024, allocations: 0.931 MB / 0.6596 GB, free: 4.414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.8025, allocations: 33.7 kB / 0.6597 GB, free: 4.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/0.8031, allocations: 0.5672 MB / 0.6602 GB, free: 3.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.8032, allocations: 134.3 kB / 0.6604 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.8034, allocations: 24 kB / 0.6604 GB, free: 3.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.8037, allocations: 398.7 kB / 0.6608 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.8042, allocations: 270.5 kB / 0.661 GB, free: 2.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009032/0.8051, allocations: 0.8638 MB / 0.6619 GB, free: 1.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/0.8058, allocations: 460.2 kB / 0.6623 GB, free: 1.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.8058, allocations: 4 kB / 0.6623 GB, free: 1.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002093/0.8079, allocations: 1.22 MB / 0.6635 GB, free: 148 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.808, allocations: 22.19 kB / 0.6635 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.808, allocations: 20 kB / 0.6635 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.8094, allocations: 295.7 kB / 0.6638 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.8099, allocations: 203.6 kB / 0.664 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.8112, allocations: 0.9138 MB / 0.6649 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.8119, allocations: 67.88 kB / 0.665 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.263e-05/0.812, allocations: 64 kB / 0.665 GB, free: 14.55 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004776/0.8125, allocations: 357.7 kB / 0.6654 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.8127, allocations: 86.97 kB / 0.6655 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.8137, allocations: 0.5086 MB / 0.666 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8138, allocations: 4 kB / 0.666 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.8138, allocations: 4 kB / 0.666 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.8138, allocations: 3.984 kB / 0.666 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.8155, allocations: 1.125 MB / 0.6671 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.8156, allocations: 0 / 0.6671 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.8165, allocations: 179.8 kB / 0.6672 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.713e-05/0.8166, allocations: 36.69 kB / 0.6673 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.8166, allocations: 8 kB / 0.6673 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.8187, allocations: 2.684 MB / 0.6699 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8187, allocations: 0 / 0.6699 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.8198, allocations: 0.703 MB / 0.6706 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.8201, allocations: 207.9 kB / 0.6708 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.8202, allocations: 8 kB / 0.6708 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.8206, allocations: 27.97 kB / 0.6708 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.8207, allocations: 28.03 kB / 0.6708 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.8208, allocations: 15.98 kB / 0.6709 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008351/0.8216, allocations: 0.6203 MB / 0.6715 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8216, allocations: 0 / 0.6715 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001519/0.8231, allocations: 391.8 kB / 0.6718 GB, free: 7.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (33): * Single equations (assignments): 31 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001795/0.8249, allocations: 0.5361 MB / 0.6724 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.8265, allocations: 0.6655 MB / 0.673 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.8265, allocations: 0 / 0.673 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008429/0.8274, allocations: 368.8 kB / 0.6734 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.8292, allocations: 406.7 kB / 0.6738 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.8321, allocations: 1.957 MB / 0.6757 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.8329, allocations: 1.028 MB / 0.6767 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.8331, allocations: 91.42 kB / 0.6768 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.8331, allocations: 0 / 0.6768 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.03755/0.8707, allocations: 22.52 MB / 0.6988 GB, free: 11.64 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o] Error 1