Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.96 MB / 360.8 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] 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.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|pipeAV_B2.state_a.h|pipeAV_B2.state_b.h|pipeAV_B3.state_a.h|pipeAV_B3.state_b.h|pipeAV_B4.state_a.h|pipeAV_B4.state_b.h|pipeA_VB2.state_a.h|pipeA_VB2.state_b.h|pipeA_VB3.state_a.h|pipeA_VB3.state_b.h|pipeA_VB4.state_a.h|pipeA_VB4.state_b.h|pipeAV_VB2.state_a.h|pipeAV_VB2.state_b.h|pipeAV_VB3.state_a.h|pipeAV_VB3.state_b.h|pipeAV_VB4.state_a.h|pipeAV_VB4.state_b.h|pipeA_V_B2.state_a.h|pipeA_V_B2.state_b.h|pipeA_V_B3.state_a.h|pipeA_V_B3.state_b.h|pipeA_V_B4.state_a.h|pipeA_V_B4.state_b.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|pipeAV_B2.state_a.h|pipeAV_B2.state_b.h|pipeAV_B3.state_a.h|pipeAV_B3.state_b.h|pipeAV_B4.state_a.h|pipeAV_B4.state_b.h|pipeA_VB2.state_a.h|pipeA_VB2.state_b.h|pipeA_VB3.state_a.h|pipeA_VB3.state_b.h|pipeA_VB4.state_a.h|pipeA_VB4.state_b.h|pipeAV_VB2.state_a.h|pipeAV_VB2.state_b.h|pipeAV_VB3.state_a.h|pipeAV_VB3.state_b.h|pipeAV_VB4.state_a.h|pipeAV_VB4.state_b.h|pipeA_V_B2.state_a.h|pipeA_V_B2.state_b.h|pipeA_V_B3.state_a.h|pipeA_V_B3.state_b.h|pipeA_V_B4.state_a.h|pipeA_V_B4.state_b.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 79.86 kB / 0.4967 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4077, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8758/1.284, allocations: 324.2 MB / 0.8778 GB, free: 452 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1762/1.46, allocations: 95.53 MB / 0.971 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01549/1.475, allocations: 428.1 kB / 0.9715 GB, free: 224 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01951/1.495, allocations: 4.683 MB / 0.976 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.06562/1.56, allocations: 18.41 MB / 0.994 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.6829/2.243, allocations: 26.44 MB / 1.02 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.05117/2.294, allocations: 34.69 MB / 1.054 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01972/2.314, allocations: 6.747 MB / 1.06 GB, free: 37.05 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4367/2.751, allocations: 198.1 MB / 1.254 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1462/2.897, allocations: 68.8 MB / 1.321 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.006441/2.903, allocations: 1.156 MB / 1.322 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04109/2.945, allocations: 11.32 MB / 1.333 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01328/2.958, allocations: 5.837 MB / 1.339 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.9444/3.902, allocations: 7.028 MB / 1.346 GB, free: 183 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.06013/3.962, allocations: 27.98 MB / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/3.962, allocations: 1.812 kB / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.407e-06/3.962, allocations: 3.969 kB / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001225/3.964, allocations: 0 / 1.373 GB, free: 181.4 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3720 * Number of variables: 3720 Notification: Performance of Generate backend data structure: time 0.07123/4.035, allocations: 17.95 MB / 1.391 GB, free: 175.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/4.035, allocations: 10.12 kB / 1.391 GB, free: 175.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0388/4.074, allocations: 4.582 MB / 1.395 GB, free: 174.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02619/4.1, allocations: 7.681 MB / 1.403 GB, free: 173.2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002117/4.102, allocations: 1.212 MB / 1.404 GB, free: 173.2 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005989/4.108, allocations: 1.163 MB / 1.405 GB, free: 173.2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07823/4.186, allocations: 28.45 MB / 1.433 GB, free: 165.1 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009053/4.187, allocations: 51.34 kB / 1.433 GB, free: 165.1 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007416/4.195, allocations: 0.556 MB / 1.433 GB, free: 165.1 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002157/4.197, allocations: 1.512 MB / 1.435 GB, free: 165.1 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06457/4.261, allocations: 22.45 MB / 1.457 GB, free: 164.9 MB / 0.92 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.1357/4.397, allocations: 72.83 MB / 1.528 GB, free: 114.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04119/4.438, allocations: 14.38 MB / 1.542 GB, free: 104 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01947/4.458, allocations: 5.85 MB / 1.547 GB, free: 99.92 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04126/4.499, allocations: 8.86 MB / 1.556 GB, free: 91.44 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/4.499, allocations: 165.5 kB / 1.556 GB, free: 91.35 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 2.617e-05/4.499, allocations: 0 / 1.556 GB, free: 91.35 MB / 0.92 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B4.mediums[2].h 2: pipeAV_B4.mediums[1].h 3: pipeAV_B4.mediums[3].h 4: pipeAV_B4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B2.mediums[2].h 2: pipeAV_B2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B3.mediums[2].h 2: pipeAV_B3.mediums[1].h 3: pipeAV_B3.mediums[3].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB4.mediums[1].h 2: pipeA_VB4.mediums[3].h 3: pipeA_VB4.mediums[2].h 4: pipeA_VB4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB2.mediums[2].h 2: pipeA_VB2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB3.mediums[2].h 2: pipeA_VB3.mediums[3].h 3: pipeA_VB3.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB4.mediums[1].h 2: pipeAV_VB4.mediums[2].h 3: pipeAV_VB4.mediums[3].h 4: pipeAV_VB4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB2.mediums[2].h 2: pipeAV_VB2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB3.mediums[2].h 2: pipeAV_VB3.mediums[1].h 3: pipeAV_VB3.mediums[3].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B4.mediums[1].h 2: pipeA_V_B4.mediums[3].h 3: pipeA_V_B4.mediums[2].h 4: pipeA_V_B4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B2.mediums[2].h 2: pipeA_V_B2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B3.mediums[1].h 2: pipeA_V_B3.mediums[2].h 3: pipeA_V_B3.mediums[3].h Please use -d=bltdump for more information. Internal error: BackendDAEEXT.setAssignment failed because m=95>91=arrayLength(ass2) Error: Internal error It is not possible to select continuous time states because Number of Equations 8 greater than number of States 0 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 7.470363525673747] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipeAV_B2.state_a.h', 'pipeAV_B2.state_b.h', 'pipeAV_B3.state_a.h', 'pipeAV_B3.state_b.h', 'pipeAV_B4.state_a.h', 'pipeAV_B4.state_b.h', 'pipeA_VB2.state_a.h', 'pipeA_VB2.state_b.h', 'pipeA_VB3.state_a.h', 'pipeA_VB3.state_b.h', 'pipeA_VB4.state_a.h', 'pipeA_VB4.state_b.h', 'pipeAV_VB2.state_a.h', 'pipeAV_VB2.state_b.h', 'pipeAV_VB3.state_a.h', 'pipeAV_VB3.state_b.h', 'pipeAV_VB4.state_a.h', 'pipeAV_VB4.state_b.h', 'pipeA_V_B2.state_a.h', 'pipeA_V_B2.state_b.h', 'pipeA_V_B3.state_a.h', 'pipeA_V_B3.state_b.h', 'pipeA_V_B4.state_a.h', 'pipeA_V_B4.state_b.h'] 4.707168923690915 4.717163124 0.7519623129999999 Calling exit ...