Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007877/0.0007876, allocations: 99.36 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000952/0.0009523, allocations: 177.2 kB / 16.58 MB, free: 6.418 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.583/1.583, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002546/0.002546, allocations: 0.5507 MB / 292.3 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 4 kB / 353.3 MB, free: 2.836 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 50.57 MB / 403.9 MB, free: 232 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.2648/0.3939, allocations: 296.4 kB / 404.2 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002717/0.3942, allocations: 47.06 kB / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.3943, allocations: 0 / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.3943, allocations: 0.6875 kB / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.3944, allocations: 5.578 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.396e-05/0.3945, allocations: 11.55 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.3946, allocations: 44.14 kB / 404.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.3947, allocations: 5.953 kB / 404.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.3947, allocations: 21.41 kB / 404.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.3948, allocations: 28.66 kB / 404.3 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3948, allocations: 4.062 kB / 404.3 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.3948, allocations: 3.312 kB / 404.3 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.3949, allocations: 16.05 kB / 404.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.3949, allocations: 34.45 kB / 404.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.886e-05/0.395, allocations: 17.97 kB / 404.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.395, allocations: 1.625 kB / 404.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.395, allocations: 0 / 404.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.395, allocations: 0 / 404.4 MB, free: 9.734 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004475/0.3954, allocations: 369.8 kB / 404.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3955, allocations: 9.734 kB / 404.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.3955, allocations: 8.062 kB / 404.8 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3957, allocations: 171.9 kB / 405 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3957, allocations: 6.688 kB / 405 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3957, allocations: 5 kB / 405 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3959, allocations: 71.33 kB / 405 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3959, allocations: 0 / 405 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3959, allocations: 3.219 kB / 405 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.396, allocations: 1.625 kB / 405 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3961, allocations: 46.02 kB / 405.1 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.3967, allocations: 313.6 kB / 405.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.3971, allocations: 117.5 kB / 405.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.438e-05/0.3972, allocations: 45.28 kB / 405.5 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.3972, allocations: 4.469 kB / 405.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3973, allocations: 33.08 kB / 405.6 MB, free: 8.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.3973, allocations: 0 / 405.6 MB, free: 8.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.004037/0.4013, allocations: 0.9351 MB / 406.5 MB, free: 8.461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.4014, allocations: 58.11 kB / 406.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4015, allocations: 113.3 kB / 406.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4015, allocations: 29.45 kB / 406.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.4016, allocations: 87.92 kB / 406.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.4016, allocations: 61.31 kB / 406.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.4016, allocations: 4.781 kB / 406.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4018, allocations: 323.6 kB / 407.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.4019, allocations: 40.47 kB / 407.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.402, allocations: 72.91 kB / 407.3 MB, free: 7.801 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/0.4048, allocations: 483.7 kB / 407.8 MB, free: 7.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4048, allocations: 5.469 kB / 407.8 MB, free: 7.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001081/0.4059, allocations: 278.5 kB / 408 MB, free: 7.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4059, allocations: 5.469 kB / 408 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.406, allocations: 5 kB / 408.1 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.4071, allocations: 186.2 kB / 408.2 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.4073, allocations: 18.47 kB / 408.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.41, allocations: 1.813 MB / 410.1 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.235e-05/0.4101, allocations: 9.859 kB / 410.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.4101, allocations: 4.031 kB / 410.1 MB, free: 6.227 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: p1 = 100000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.4103, allocations: 123.4 kB / 410.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/0.4103, allocations: 9.781 kB / 410.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.4104, allocations: 19.33 kB / 410.2 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4104, allocations: 2.438 kB / 410.2 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.4104, allocations: 1.219 kB / 410.2 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4104, allocations: 5.266 kB / 410.2 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4117, allocations: 0.5696 MB / 410.8 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4117, allocations: 0.5156 kB / 410.8 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.4118, allocations: 12.23 kB / 410.8 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/0.4138, allocations: 315.5 kB / 411.1 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.4138, allocations: 4.875 kB / 411.1 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.4162, allocations: 1.807 MB / 412.9 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4162, allocations: 0 / 412.9 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.4173, allocations: 440.6 kB / 413.4 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.4173, allocations: 85.5 kB / 413.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4173, allocations: 2.281 kB / 413.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4174, allocations: 10 kB / 413.5 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.4175, allocations: 16.09 kB / 413.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4175, allocations: 4.844 kB / 413.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.269e-05/0.4176, allocations: 87.41 kB / 413.6 MB, free: 3.816 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.4176, allocations: 0 / 413.6 MB, free: 3.816 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.418, allocations: 39.09 kB / 413.6 MB, free: 3.805 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,T1,T2) * 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 (9): * Single equations (assignments): 8 * 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: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001049/0.4181, allocations: 93.05 kB / 413.7 MB, free: 3.715 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000776/0.4189, allocations: 312.7 kB / 414 MB, free: 3.539 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4189, allocations: 4 kB / 414 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.4194, allocations: 262.4 kB / 414.3 MB, free: 3.371 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.4197, allocations: 11.12 kB / 414.3 MB, free: 3.363 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.4201, allocations: 305 kB / 414.6 MB, free: 3.125 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.4203, allocations: 0.7071 MB / 415.3 MB, free: 2.426 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.4204, allocations: 11.31 kB / 415.3 MB, free: 2.418 MB / 286.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4204, allocations: 4 kB / 415.3 MB, free: 2.414 MB / 286.1 MB Notification: Performance of Templates: time 0.004742/0.4251, allocations: 1.627 MB / 416.9 MB, free: 2.336 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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 OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitialCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitialCalcHelperMain.o] Error 1