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.001559/0.001559, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001737/0.001737, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2289/0.2289, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.002236/0.002236, allocations: 63.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3419, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7312/1.073, allocations: 324.2 MB / 0.8784 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1408/1.214, allocations: 95.53 MB / 0.9717 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/1.224, allocations: 424.1 kB / 0.9721 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01577/1.24, allocations: 4.675 MB / 0.9767 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.05382/1.294, allocations: 18.44 MB / 0.9947 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.511/1.804, allocations: 26.76 MB / 1.021 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04302/1.847, allocations: 34.86 MB / 1.055 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0163/1.864, allocations: 6.759 MB / 1.061 GB, free: 37.12 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4017/2.265, allocations: 198.1 MB / 1.255 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1382/2.404, allocations: 68.8 MB / 1.322 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.006/2.41, allocations: 1.152 MB / 1.323 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03703/2.447, allocations: 11.68 MB / 1.335 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01208/2.459, allocations: 5.828 MB / 1.34 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.9089/3.368, allocations: 7.043 MB / 1.347 GB, free: 183.1 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.05624/3.424, allocations: 27.98 MB / 1.374 GB, free: 181.6 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/3.424, allocations: 2.344 kB / 1.374 GB, free: 181.6 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.134e-06/3.424, allocations: 0 / 1.374 GB, free: 181.6 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009246/3.425, 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.06225/3.487, allocations: 17.96 MB / 1.392 GB, free: 175.6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/3.487, allocations: 10.88 kB / 1.392 GB, free: 175.6 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03646/3.524, allocations: 4.585 MB / 1.397 GB, free: 174.7 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02143/3.545, allocations: 7.676 MB / 1.404 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002268/3.547, allocations: 1.212 MB / 1.405 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006383/3.554, allocations: 1.165 MB / 1.406 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06524/3.619, allocations: 28.45 MB / 1.434 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005728/3.619, allocations: 56.28 kB / 1.434 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004917/3.624, allocations: 0.547 MB / 1.435 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001664/3.626, allocations: 1.514 MB / 1.436 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05588/3.682, allocations: 22.45 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.1154/3.797, allocations: 72.83 MB / 1.529 GB, free: 115.1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03535/3.833, allocations: 14.37 MB / 1.543 GB, free: 104.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/3.846, allocations: 5.85 MB / 1.549 GB, free: 100.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02961/3.875, allocations: 8.851 MB / 1.558 GB, free: 91.8 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/3.876, allocations: 166.2 kB / 1.558 GB, free: 91.71 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 2.886e-05/3.876, allocations: 0 / 1.558 GB, free: 91.71 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! Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck could not be translated " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.747847763996106] 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.087835798003653 4.096334346 0.669885305 Calling exit ...