Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 91.67 kB / 16.67 MB, free: 6.59 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.001369/0.001369, allocations: 180.3 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 223.8 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2917/0.2917, allocations: 43.59 MB / 315.6 MB, free: 0.5 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.0007319/0.0007322, allocations: 17.66 kB / 385.2 MB, free: 56.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1652, allocations: 58.86 MB / 444.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.6244/0.7896, allocations: 148.7 MB / 0.5789 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.8061, allocations: 10.68 MB / 0.5893 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.8082, allocations: 36.75 kB / 0.5893 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.8095, allocations: 355.7 kB / 0.5897 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004532/0.8141, allocations: 1.357 MB / 0.591 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008796/0.8229, allocations: 2.301 MB / 0.5933 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006001/0.8289, allocations: 3.894 MB / 0.5971 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.8304, allocations: 0.6517 MB / 0.5977 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.8327, allocations: 0.8839 MB / 0.5986 GB, free: 7.492 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.8348, allocations: 1.122 MB / 0.5997 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.8351, allocations: 55.56 kB / 0.5997 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005745/0.8408, allocations: 1.974 MB / 0.6016 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006808/0.8415, allocations: 356.3 kB / 0.602 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.8426, allocations: 0.544 MB / 0.6025 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.8467, allocations: 1.85 MB / 0.6043 GB, free: 5.164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8467, allocations: 0 / 0.6043 GB, free: 5.164 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.8467, allocations: 3.219 kB / 0.6043 GB, free: 5.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.8467, allocations: 0 / 0.6043 GB, free: 5.164 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003675/0.8504, allocations: 1.375 MB / 0.6057 GB, free: 4.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.8505, allocations: 12.91 kB / 0.6057 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.8509, allocations: 117.8 kB / 0.6058 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.8521, allocations: 0.7163 MB / 0.6065 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.8523, allocations: 115.8 kB / 0.6066 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.8524, allocations: 66.75 kB / 0.6067 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.8545, allocations: 1.212 MB / 0.6078 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8545, allocations: 0 / 0.6078 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.8547, allocations: 31.39 kB / 0.6079 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.8548, allocations: 87.45 kB / 0.608 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.8568, allocations: 1.207 MB / 0.6091 GB, free: 2.012 MB / 430.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.008887/0.8657, allocations: 4.928 MB / 0.6139 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.8671, allocations: 0.6879 MB / 0.6146 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/0.8678, allocations: 428.4 kB / 0.615 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003706/0.8715, allocations: 2.441 MB / 0.6174 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.8716, allocations: 42.98 kB / 0.6174 GB, free: 10.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=52): time 2.194e-06/0.8716, allocations: 3.938 kB / 0.6175 GB, free: 10.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.007906/0.8795, allocations: 3.041 MB / 0.6204 GB, free: 7.727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.8797, allocations: 162.8 kB / 0.6206 GB, free: 7.531 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.8812, allocations: 0.9505 MB / 0.6215 GB, free: 6.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/0.8813, allocations: 37.7 kB / 0.6215 GB, free: 6.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.8817, allocations: 470.5 kB / 0.622 GB, free: 6.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.8819, allocations: 203.3 kB / 0.6222 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.8821, allocations: 85.67 kB / 0.6223 GB, free: 5.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.8823, allocations: 337.9 kB / 0.6226 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/0.8832, allocations: 469.7 kB / 0.623 GB, free: 4.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.8842, allocations: 0.7038 MB / 0.6237 GB, free: 4.176 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.886, allocations: 1.085 MB / 0.6248 GB, free: 3.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.886, allocations: 0 / 0.6248 GB, free: 3.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002628/0.8886, allocations: 1.562 MB / 0.6263 GB, free: 1.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.8889, allocations: 286 kB / 0.6266 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.8889, allocations: 11.94 kB / 0.6266 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/0.891, allocations: 0.5216 MB / 0.6271 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.8921, allocations: 187.7 kB / 0.6273 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/0.8959, allocations: 2.946 MB / 0.6302 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.8973, allocations: 55.84 kB / 0.6302 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.8975, allocations: 43.98 kB / 0.6303 GB, free: 13.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.8975, allocations: 8.094 kB / 0.6303 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003762/0.9012, allocations: 1.413 MB / 0.6316 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.9013, allocations: 4.344 kB / 0.6316 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.9027, allocations: 426.2 kB / 0.632 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.9037, allocations: 191.7 kB / 0.6322 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.9074, allocations: 2.841 MB / 0.635 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.9087, allocations: 51.91 kB / 0.6351 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.9088, allocations: 52.08 kB / 0.6351 GB, free: 7.887 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 (vol1.regularFlow[1],vol1.regularFlow[2],vol1.inFlow[2],vol1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001095/0.91, allocations: 368.7 kB / 0.6355 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.9103, allocations: 98.86 kB / 0.6356 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/0.914, allocations: 1.401 MB / 0.6369 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.9141, allocations: 4 kB / 0.6369 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.9141, allocations: 4 kB / 0.6369 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.9141, allocations: 3.984 kB / 0.6369 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005811/0.9199, allocations: 2.34 MB / 0.6392 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.92, allocations: 4 kB / 0.6392 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.9207, allocations: 91.88 kB / 0.6393 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.9231, allocations: 0.5099 MB / 0.6398 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.266e-05/0.9232, allocations: 16 kB / 0.6398 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004009/0.9272, allocations: 2.927 MB / 0.6427 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.9273, allocations: 8.344 kB / 0.6427 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/0.9317, allocations: 1.75 MB / 0.6444 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.9329, allocations: 307.6 kB / 0.6447 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/0.9333, allocations: 20 kB / 0.6447 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.9344, allocations: 35.97 kB / 0.6447 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.9347, allocations: 56.48 kB / 0.6448 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.9348, allocations: 27.97 kB / 0.6448 GB, free: 13.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001707/0.9365, allocations: 0.6752 MB / 0.6455 GB, free: 12.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9365, allocations: 0 / 0.6455 GB, free: 12.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003779/0.9403, allocations: 0.8082 MB / 0.6463 GB, free: 12.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002995/0.9433, allocations: 0.6448 MB / 0.6469 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005909/0.9493, allocations: 1.924 MB / 0.6488 GB, free: 9.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.9493, allocations: 0 / 0.6488 GB, free: 9.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.9509, allocations: 0.5731 MB / 0.6493 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/0.9545, allocations: 404.7 kB / 0.6497 GB, free: 8.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006645/0.9612, allocations: 2.405 MB / 0.6521 GB, free: 6.055 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.9623, allocations: 1.054 MB / 0.6531 GB, free: 4.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.9629, allocations: 103.4 kB / 0.6532 GB, free: 4.871 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.9629, allocations: 0 / 0.6532 GB, free: 4.871 MB / 478.1 MB Notification: Performance of Templates: time 0.05701/1.02, allocations: 31.89 MB / 0.6844 GB, free: 4.973 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitializationCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitializationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitializationCalcHelperMain.o] Error 1