Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.0008567/0.0008568, allocations: 95.16 kB / 18 MB, free: 5.602 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.000875/0.0008749, allocations: 182.4 kB / 18.91 MB, free: 4.738 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.514/1.514, allocations: 223.3 MB / 242.9 MB, free: 180 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.2271/0.2271, allocations: 44.25 MB / 338.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004305, allocations: 8.875 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.5284/0.6839, allocations: 148.7 MB / 0.607 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.7012, allocations: 10.72 MB / 0.6175 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.7028, allocations: 39.69 kB / 0.6175 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.7041, allocations: 358.1 kB / 0.6179 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.7088, allocations: 1.362 MB / 0.6192 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007691/0.7165, allocations: 2.29 MB / 0.6214 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005905/0.7225, allocations: 3.906 MB / 0.6252 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.7239, allocations: 0.6431 MB / 0.6259 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.7265, allocations: 0.8795 MB / 0.6267 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.7288, allocations: 1.121 MB / 0.6278 GB, free: 8.074 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.729, allocations: 56 kB / 0.6279 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005293/0.7343, allocations: 1.977 MB / 0.6298 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007658/0.7351, allocations: 366.9 kB / 0.6301 GB, free: 5.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.7362, allocations: 0.5421 MB / 0.6307 GB, free: 5.129 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.7404, allocations: 1.851 MB / 0.6325 GB, free: 3.273 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.7405, allocations: 0 / 0.6325 GB, free: 3.273 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.7405, allocations: 0 / 0.6325 GB, free: 3.273 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.7405, allocations: 0 / 0.6325 GB, free: 3.273 MB / 462.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.003981/0.7445, allocations: 1.379 MB / 0.6338 GB, free: 1.844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.7446, allocations: 15.97 kB / 0.6338 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.745, allocations: 114.8 kB / 0.634 GB, free: 1.715 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.7462, allocations: 0.7136 MB / 0.6347 GB, free: 0.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.7463, allocations: 120.7 kB / 0.6348 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.7465, allocations: 67.98 kB / 0.6348 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.7484, allocations: 1.2 MB / 0.636 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.7485, allocations: 3.938 kB / 0.636 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.7486, allocations: 31.98 kB / 0.636 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.7487, allocations: 77.94 kB / 0.6361 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.7506, allocations: 1.206 MB / 0.6373 GB, free: 14.21 MB / 478.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.008562/0.7591, allocations: 4.929 MB / 0.6421 GB, free: 8.992 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7605, allocations: 0.6763 MB / 0.6428 GB, free: 8.309 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.7611, allocations: 430.3 kB / 0.6432 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0036/0.7647, allocations: 2.438 MB / 0.6456 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.7648, allocations: 43 kB / 0.6456 GB, free: 5.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=52): time 2.635e-06/0.7648, allocations: 0 / 0.6456 GB, free: 5.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.00768/0.7725, allocations: 3.042 MB / 0.6486 GB, free: 2.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.7726, allocations: 166.7 kB / 0.6487 GB, free: 1.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.774, allocations: 0.9543 MB / 0.6497 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.522e-05/0.7741, allocations: 37.7 kB / 0.6497 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.7745, allocations: 475.1 kB / 0.6501 GB, free: 360 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.7748, allocations: 205.1 kB / 0.6503 GB, free: 152 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.7749, allocations: 81.67 kB / 0.6504 GB, free: 64 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.7751, allocations: 345.9 kB / 0.6508 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007741/0.7759, allocations: 457.7 kB / 0.6512 GB, free: 15.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009736/0.7769, allocations: 0.7077 MB / 0.6519 GB, free: 14.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.7785, allocations: 1.077 MB / 0.6529 GB, free: 13.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.7785, allocations: 8 kB / 0.6529 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002761/0.7813, allocations: 1.562 MB / 0.6545 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.7816, allocations: 294.3 kB / 0.6547 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.7817, allocations: 4 kB / 0.6547 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.7835, allocations: 0.5418 MB / 0.6553 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.7843, allocations: 183.7 kB / 0.6555 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.7872, allocations: 2.936 MB / 0.6583 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.7883, allocations: 60.03 kB / 0.6584 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.7884, allocations: 43.98 kB / 0.6584 GB, free: 7.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.7884, allocations: 7.938 kB / 0.6584 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002564/0.791, allocations: 1.405 MB / 0.6598 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.791, allocations: 12 kB / 0.6598 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.7921, allocations: 426.3 kB / 0.6602 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.7928, allocations: 191.7 kB / 0.6604 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.7953, allocations: 2.818 MB / 0.6632 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009531/0.7962, allocations: 56.12 kB / 0.6632 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.7963, allocations: 43.98 kB / 0.6632 GB, free: 2.172 MB / 494.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.0006684/0.797, allocations: 377.2 kB / 0.6636 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.7972, allocations: 102.8 kB / 0.6637 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.7997, allocations: 1.394 MB / 0.6651 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.7997, allocations: 8 kB / 0.6651 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7997, allocations: 0 / 0.6651 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.7997, allocations: 3.984 kB / 0.6651 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.8034, allocations: 2.334 MB / 0.6674 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.8034, allocations: 4.062 kB / 0.6674 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.8039, allocations: 95.88 kB / 0.6675 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.8055, allocations: 0.5138 MB / 0.668 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.8056, allocations: 23.98 kB / 0.668 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.8081, allocations: 2.911 MB / 0.6708 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8081, allocations: 3.938 kB / 0.6708 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.8109, allocations: 1.758 MB / 0.6725 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/0.8115, allocations: 307.7 kB / 0.6728 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.8116, allocations: 12 kB / 0.6728 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/0.8123, allocations: 47.88 kB / 0.6729 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.8124, allocations: 52.48 kB / 0.6729 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.8125, allocations: 35.97 kB / 0.673 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009545/0.8135, allocations: 0.6713 MB / 0.6736 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8135, allocations: 0 / 0.6736 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002383/0.8159, allocations: 0.8082 MB / 0.6744 GB, free: 6.316 MB / 0.4981 GB 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.001686/0.8176, allocations: 0.6506 MB / 0.6751 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003808/0.8214, allocations: 1.917 MB / 0.6769 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.8214, allocations: 320 / 0.6769 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.8226, allocations: 0.5719 MB / 0.6775 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.8248, allocations: 394.9 kB / 0.6779 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.829, allocations: 2.42 MB / 0.6802 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.8297, allocations: 1.062 MB / 0.6813 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.8301, allocations: 99.39 kB / 0.6814 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of SimCode: time 8.51e-07/0.8301, allocations: 0 / 0.6814 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.3339/1.164, allocations: 31.9 MB / 0.7125 GB, free: 201.5 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile make -j1 -f ModelicaTest_4.0.0_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/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/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.Fluid.TestComponents.Vessels.TestInitializationCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitializationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitializationCalcHelperMain.o] Error 1