Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001286/0.001286, allocations: 113.1 kB / 21.85 MB, free: 64 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.001403/0.001403, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.4 MB / 258.7 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2571/0.2571, allocations: 46.93 MB / 362 MB, free: 4.238 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 79.86 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3656, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6907/1.056, allocations: 356.3 MB / 0.9103 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.6662/1.723, allocations: 103.5 MB / 1.011 GB, free: 416 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01149/1.734, allocations: 423.7 kB / 1.012 GB, free: 416 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01524/1.749, allocations: 5.189 MB / 1.017 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.05759/1.807, allocations: 18.46 MB / 1.035 GB, free: 184 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06802/1.875, allocations: 27.41 MB / 1.062 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0504/1.925, allocations: 34.88 MB / 1.096 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01847/1.944, allocations: 6.506 MB / 1.102 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4933/2.437, allocations: 198 MB / 1.295 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6738/3.111, allocations: 68.77 MB / 1.363 GB, free: 232.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.007567/3.118, allocations: 1.155 MB / 1.364 GB, free: 232.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04601/3.164, allocations: 11.68 MB / 1.375 GB, free: 232.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01673/3.181, allocations: 5.835 MB / 1.381 GB, free: 232.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.03253/3.214, allocations: 8.458 MB / 1.389 GB, free: 232.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.07159/3.285, allocations: 27.99 MB / 1.416 GB, free: 228.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/3.285, allocations: 0 / 1.416 GB, free: 228.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.695e-06/3.285, allocations: 0 / 1.416 GB, free: 228.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.001068/3.286, allocations: 0 / 1.416 GB, free: 228.8 MB / 0.9512 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.07033/3.357, allocations: 17.95 MB / 1.434 GB, free: 222.1 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/3.357, allocations: 10.53 kB / 1.434 GB, free: 222.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03689/3.394, allocations: 4.585 MB / 1.438 GB, free: 220.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0244/3.418, allocations: 7.671 MB / 1.446 GB, free: 217.4 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002347/3.42, allocations: 1.205 MB / 1.447 GB, free: 217.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006424/3.427, allocations: 1.168 MB / 1.448 GB, free: 216.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0751/3.502, allocations: 28.44 MB / 1.476 GB, free: 192.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009423/3.503, allocations: 50.84 kB / 1.476 GB, free: 192.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006933/3.51, allocations: 0.553 MB / 1.477 GB, free: 192.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001789/3.512, allocations: 1.513 MB / 1.478 GB, free: 191.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05546/3.567, allocations: 22.55 MB / 1.5 GB, free: 173 MB / 0.9512 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.1291/3.696, allocations: 106.1 MB / 1.604 GB, free: 60.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03455/3.731, allocations: 14.41 MB / 1.618 GB, free: 45.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01174/3.742, allocations: 5.857 MB / 1.624 GB, free: 39.87 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02678/3.769, allocations: 8.872 MB / 1.632 GB, free: 31.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/3.769, allocations: 167.8 kB / 1.632 GB, free: 30.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 1.025e-05/3.769, allocations: 4 kB / 1.632 GB, free: 30.93 MB / 0.9512 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.992194939870387] 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.295168027980253 4.305037645 1.01691061 Calling exit ...