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.001323/0.001323, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.001465/0.001465, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.446/1.446, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.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.2118/0.2118, allocations: 34.26 MB / 295.4 MB, free: 14.51 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.002379/0.002379, allocations: 79.88 kB / 443.2 MB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.392, allocations: 66.06 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7027/1.095, allocations: 324.2 MB / 0.8139 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1522/1.247, allocations: 95.55 MB / 0.9072 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01704/1.264, allocations: 420.2 kB / 0.9076 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01703/1.281, allocations: 4.679 MB / 0.9122 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.05566/1.337, allocations: 18.41 MB / 0.9301 GB, free: 5.805 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.07485/1.412, allocations: 26.45 MB / 0.956 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.5848/1.996, allocations: 34.69 MB / 0.9898 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01963/2.016, allocations: 6.739 MB / 0.9964 GB, free: 36.56 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4919/2.508, allocations: 198.6 MB / 1.19 GB, free: 4.664 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1577/2.666, allocations: 68.96 MB / 1.258 GB, free: 8.645 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.005903/2.671, allocations: 1.156 MB / 1.259 GB, free: 7.488 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03273/2.704, allocations: 11.31 MB / 1.27 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.01097/2.715, allocations: 5.835 MB / 1.276 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01951/2.735, allocations: 7.036 MB / 1.282 GB, free: 15.95 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.05816/2.793, allocations: 27.99 MB / 1.31 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/2.793, allocations: 0 / 1.31 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/2.793, allocations: 3.938 kB / 1.31 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0007451/2.794, allocations: 0 / 1.31 GB, free: 5.199 MB / 0.9356 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.5439/3.337, allocations: 17.95 MB / 1.327 GB, free: 499.8 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/3.338, allocations: 9.562 kB / 1.327 GB, free: 499.8 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04023/3.378, allocations: 4.591 MB / 1.332 GB, free: 498.6 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/3.404, allocations: 7.685 MB / 1.339 GB, free: 495.7 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00288/3.407, allocations: 1.208 MB / 1.34 GB, free: 495.2 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006657/3.414, allocations: 1.163 MB / 1.342 GB, free: 494.8 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07938/3.493, allocations: 28.44 MB / 1.369 GB, free: 478.8 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006552/3.494, allocations: 59.12 kB / 1.369 GB, free: 478.8 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004955/3.499, allocations: 0.5516 MB / 1.37 GB, free: 478.4 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001683/3.501, allocations: 1.516 MB / 1.371 GB, free: 477.9 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05775/3.558, allocations: 22.44 MB / 1.393 GB, free: 457.9 MB / 0.9357 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.1173/3.676, allocations: 72.83 MB / 1.464 GB, free: 384.8 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03852/3.714, allocations: 14.39 MB / 1.479 GB, free: 370.3 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01262/3.727, allocations: 5.853 MB / 1.484 GB, free: 364.4 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03145/3.758, allocations: 8.85 MB / 1.493 GB, free: 356.1 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/3.759, allocations: 175.9 kB / 1.493 GB, free: 355.9 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 3.189e-05/3.759, allocations: 0 / 1.493 GB, free: 355.9 MB / 0.9357 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 656] [Calling sys.exit(0), Time elapsed: 6.58693673403468] 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'] 3.994269496994093 4.011023037 1.21520009 Calling exit ...