Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 93.03 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 198 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 45.93 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 63.46 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.625/0.7804, allocations: 174.2 MB / 0.6409 GB, free: 8.145 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.7936, allocations: 7.016 MB / 0.6478 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.7954, allocations: 27.75 kB / 0.6478 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.7973, allocations: 314 kB / 0.6481 GB, free: 0.7812 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.007735/0.8051, allocations: 1.886 MB / 0.6499 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007117/0.8122, allocations: 1.661 MB / 0.6516 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00476/0.817, allocations: 2.656 MB / 0.6542 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.8183, allocations: 491.6 kB / 0.6546 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/0.8231, allocations: 1.561 MB / 0.6561 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.8251, allocations: 0.8568 MB / 0.657 GB, free: 7.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003764/0.8255, allocations: 48 kB / 0.657 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009906/0.8354, allocations: 4.294 MB / 0.6612 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009758/0.8365, allocations: 390.9 kB / 0.6616 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006974/0.8372, allocations: 213.3 kB / 0.6618 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005857/0.8431, allocations: 2.483 MB / 0.6642 GB, free: 224 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.8431, allocations: 0 / 0.6642 GB, free: 224 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.8431, allocations: 0 / 0.6642 GB, free: 224 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.25e-05/0.8432, allocations: 4 kB / 0.6642 GB, free: 220 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00483/0.848, allocations: 1.551 MB / 0.6657 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8481, allocations: 8.031 kB / 0.6657 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.8487, allocations: 107 kB / 0.6658 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.85, allocations: 0.5745 MB / 0.6664 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.8502, allocations: 117.3 kB / 0.6665 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.8504, allocations: 83.89 kB / 0.6666 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.8527, allocations: 1.158 MB / 0.6677 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.8527, allocations: 0 / 0.6677 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.8528, allocations: 32 kB / 0.6678 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.569e-05/0.8529, allocations: 57.97 kB / 0.6678 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.8551, allocations: 1.155 MB / 0.6689 GB, free: 11.21 MB / 0.4981 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.007544/0.8626, allocations: 4.982 MB / 0.6738 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.8644, allocations: 0.8224 MB / 0.6746 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/0.8651, allocations: 418.3 kB / 0.675 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.8667, allocations: 1.63 MB / 0.6766 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/0.8668, allocations: 51.05 kB / 0.6767 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 2.835e-06/0.8668, allocations: 0 / 0.6767 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01318/0.88, allocations: 4.13 MB / 0.6807 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.8801, allocations: 111.5 kB / 0.6808 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/0.8811, allocations: 0.6602 MB / 0.6814 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.8812, allocations: 41.7 kB / 0.6815 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.8815, allocations: 379.6 kB / 0.6818 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.8819, allocations: 295.8 kB / 0.6821 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.8819, allocations: 23.94 kB / 0.6821 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.8822, allocations: 394.7 kB / 0.6825 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.8832, allocations: 497.7 kB / 0.683 GB, free: 12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.8844, allocations: 0.7523 MB / 0.6837 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.8856, allocations: 0.5924 MB / 0.6843 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.8856, allocations: 0 / 0.6843 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003439/0.889, allocations: 1.681 MB / 0.686 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.8891, allocations: 14.28 kB / 0.686 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.8891, allocations: 8 kB / 0.686 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006651/0.8958, allocations: 1.374 MB / 0.6873 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.8965, allocations: 155.7 kB / 0.6875 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/0.8992, allocations: 1.541 MB / 0.689 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.9003, allocations: 91.91 kB / 0.6891 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.9004, allocations: 51.98 kB / 0.6891 GB, free: 5.594 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0006377/0.9011, allocations: 297.2 kB / 0.6894 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.9013, allocations: 90.97 kB / 0.6895 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.9049, allocations: 1.699 MB / 0.6911 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.9049, allocations: 8 kB / 0.6911 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.905, allocations: 4 kB / 0.6911 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.905, allocations: 7.938 kB / 0.6912 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/0.9101, allocations: 2.637 MB / 0.6937 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.9101, allocations: 4.188 kB / 0.6937 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.9114, allocations: 259.7 kB / 0.694 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.9132, allocations: 408.2 kB / 0.6944 GB, free: 76 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.9133, allocations: 31.97 kB / 0.6944 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.916, allocations: 2.264 MB / 0.6966 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.9161, allocations: 3.938 kB / 0.6966 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/0.9202, allocations: 2.044 MB / 0.6986 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/0.921, allocations: 284 kB / 0.6989 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.9213, allocations: 27.98 kB / 0.6989 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.9224, allocations: 83.73 kB / 0.699 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.9225, allocations: 64.92 kB / 0.6991 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.9227, allocations: 47.95 kB / 0.6991 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008332/0.9235, allocations: 483 kB / 0.6996 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.475e-06/0.9236, allocations: 0 / 0.6996 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002618/0.9262, allocations: 0.6753 MB / 0.7002 GB, free: 9.879 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002782/0.929, allocations: 0.7997 MB / 0.701 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002898/0.9319, allocations: 1.245 MB / 0.7022 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.9319, allocations: 0 / 0.7022 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.9336, allocations: 0.7015 MB / 0.7029 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.9363, allocations: 492 kB / 0.7034 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.9416, allocations: 2.579 MB / 0.7059 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/0.9425, allocations: 1.043 MB / 0.7069 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.943, allocations: 95.41 kB / 0.707 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of SimCode: time 2.074e-06/0.943, allocations: 0 / 0.707 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of Templates: time 0.3546/1.298, allocations: 28.05 MB / 0.7344 GB, free: 183.6 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAirCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1