Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.232/0.232, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.89 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4409, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8829/1.324, allocations: 324.2 MB / 0.8784 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1462/1.47, allocations: 95.54 MB / 0.9717 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01222/1.482, allocations: 428.1 kB / 0.9721 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01643/1.499, allocations: 4.667 MB / 0.9767 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.05858/1.557, allocations: 18.45 MB / 0.9947 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.6904/2.248, allocations: 26.75 MB / 1.021 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.05804/2.306, allocations: 34.87 MB / 1.055 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01887/2.325, allocations: 6.762 MB / 1.061 GB, free: 37.06 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.482/2.807, allocations: 198.1 MB / 1.255 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1592/2.966, allocations: 68.81 MB / 1.322 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.005951/2.972, allocations: 1.156 MB / 1.323 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03579/3.008, allocations: 11.67 MB / 1.335 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01151/3.019, allocations: 5.834 MB / 1.34 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.9565/3.976, allocations: 7.033 MB / 1.347 GB, free: 183.1 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.06728/4.043, allocations: 27.98 MB / 1.374 GB, free: 181.6 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/4.043, allocations: 0.9688 kB / 1.374 GB, free: 181.6 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/4.043, allocations: 3 kB / 1.374 GB, free: 181.6 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001109/4.044, allocations: 0 / 1.374 GB, free: 181.6 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.07756/4.122, allocations: 17.96 MB / 1.392 GB, free: 175.6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/4.122, allocations: 14.34 kB / 1.392 GB, free: 175.6 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03913/4.161, allocations: 4.584 MB / 1.397 GB, free: 174.7 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/4.187, allocations: 7.681 MB / 1.404 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002185/4.19, allocations: 1.208 MB / 1.405 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00651/4.196, allocations: 1.169 MB / 1.406 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07821/4.274, allocations: 28.44 MB / 1.434 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001124/4.276, allocations: 53.41 kB / 1.434 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007865/4.283, allocations: 0.5495 MB / 1.435 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/4.286, allocations: 1.513 MB / 1.436 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06323/4.349, allocations: 22.44 MB / 1.458 GB, free: 165.1 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.1557/4.505, allocations: 72.83 MB / 1.529 GB, free: 115.1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03796/4.543, allocations: 14.37 MB / 1.543 GB, free: 104.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01272/4.555, allocations: 5.847 MB / 1.549 GB, free: 100.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02961/4.585, allocations: 8.851 MB / 1.558 GB, free: 91.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/4.585, allocations: 168.7 kB / 1.558 GB, free: 91.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 2.519e-05/4.585, allocations: 1.312 kB / 1.558 GB, free: 91.68 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.589185583987273] 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.797223959991243 4.806500538 0.760813056 Calling exit ...