Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009213, allocations: 99.98 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.001007/0.001007, allocations: 178.4 kB / 16.58 MB, free: 6.422 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.494/1.494, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002407/0.002407, allocations: 0.558 MB / 292.3 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004321, allocations: 8 kB / 353.3 MB, free: 2.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1315, allocations: 50.58 MB / 403.9 MB, free: 260 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.2457/0.3773, allocations: 296.6 kB / 404.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.3777, allocations: 47.14 kB / 404.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.3777, allocations: 1.781 kB / 404.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.3777, allocations: 0.5625 kB / 404.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.3778, allocations: 6.094 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.32e-05/0.3779, allocations: 13.59 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.378, allocations: 45.81 kB / 404.3 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.04e-05/0.3781, allocations: 7.359 kB / 404.3 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.3781, allocations: 19.56 kB / 404.3 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.3782, allocations: 29.42 kB / 404.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3782, allocations: 3.25 kB / 404.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.3783, allocations: 4 kB / 404.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.3783, allocations: 13.88 kB / 404.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3783, allocations: 36.16 kB / 404.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.309e-05/0.3784, allocations: 20.5 kB / 404.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3784, allocations: 0.5 kB / 404.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3784, allocations: 0.8125 kB / 404.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3784, allocations: 0 / 404.4 MB, free: 9.746 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.0004224/0.3789, allocations: 370.5 kB / 404.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3789, allocations: 8.969 kB / 404.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3789, allocations: 8.188 kB / 404.8 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3791, allocations: 172.1 kB / 405 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3791, allocations: 6.5 kB / 405 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3791, allocations: 8.219 kB / 405 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3793, allocations: 67.08 kB / 405 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3793, allocations: 0.9375 kB / 405 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3793, allocations: 8.562 kB / 405.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.3793, allocations: 1.562 kB / 405.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.3794, allocations: 36.09 kB / 405.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.3799, allocations: 313.3 kB / 405.4 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.3803, allocations: 124.7 kB / 405.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/0.3804, allocations: 40.03 kB / 405.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3804, allocations: 2.25 kB / 405.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3805, allocations: 35.03 kB / 405.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3805, allocations: 1.531 kB / 405.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003685/0.3841, allocations: 0.941 MB / 406.5 MB, free: 8.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3842, allocations: 56.25 kB / 406.6 MB, free: 8.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.3843, allocations: 110.9 kB / 406.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3843, allocations: 29.84 kB / 406.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.3843, allocations: 90.33 kB / 406.8 MB, free: 8.188 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.3844, allocations: 59.03 kB / 406.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.3844, allocations: 4.719 kB / 406.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.3845, allocations: 323.4 kB / 407.2 MB, free: 7.832 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.3846, allocations: 45.31 kB / 407.2 MB, free: 7.828 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3847, allocations: 66.67 kB / 407.3 MB, free: 7.812 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.3873, allocations: 488.4 kB / 407.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3873, allocations: 1.25 kB / 407.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009572/0.3882, allocations: 286.1 kB / 408.1 MB, free: 7.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3883, allocations: 6.906 kB / 408.1 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3883, allocations: 1.344 kB / 408.1 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3894, allocations: 190.7 kB / 408.3 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.3895, allocations: 17.95 kB / 408.3 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.392, allocations: 1.805 MB / 410.1 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.3921, allocations: 6.375 kB / 410.1 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3921, allocations: 6.938 kB / 410.1 MB, free: 6.238 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.0001045/0.3923, allocations: 121.5 kB / 410.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.3923, allocations: 11.59 kB / 410.2 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.3923, allocations: 19.91 kB / 410.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3924, allocations: 2.062 kB / 410.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.3924, allocations: 1.406 kB / 410.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3924, allocations: 6.594 kB / 410.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.3937, allocations: 0.5644 MB / 410.8 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3937, allocations: 3.531 kB / 410.8 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.3938, allocations: 17.16 kB / 410.8 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002018/0.3958, allocations: 317.1 kB / 411.1 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3958, allocations: 4.219 kB / 411.1 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.3982, allocations: 1.807 MB / 413 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3982, allocations: 0 / 413 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3993, allocations: 442 kB / 413.4 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.3993, allocations: 84.91 kB / 413.5 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3994, allocations: 6.594 kB / 413.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3995, allocations: 1.75 kB / 413.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.3995, allocations: 17.78 kB / 413.5 MB, free: 3.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3996, allocations: 5.25 kB / 413.5 MB, free: 3.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.732e-05/0.3996, allocations: 86.91 kB / 413.6 MB, free: 3.852 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3996, allocations: 3.938 kB / 413.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000375/0.4, allocations: 30.81 kB / 413.6 MB, free: 3.844 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.0001073/0.4001, allocations: 101.6 kB / 413.7 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007582/0.4009, allocations: 312.8 kB / 414 MB, free: 3.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4009, allocations: 1 kB / 414 MB, free: 3.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005078/0.4014, allocations: 259.8 kB / 414.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.4016, allocations: 15.14 kB / 414.3 MB, free: 3.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.4021, allocations: 296.9 kB / 414.6 MB, free: 3.164 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4023, allocations: 0.7089 MB / 415.3 MB, free: 2.461 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.4024, allocations: 12.78 kB / 415.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4024, allocations: 0 / 415.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of Templates: time 0.004815/0.4072, allocations: 1.618 MB / 416.9 MB, free: 2.383 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistentCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistentCalcHelperMain.o] Error 1