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.001779/0.001779, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001913/0.001913, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.433/1.433, allocations: 230.2 MB / 257.8 MB, free: 8.535 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.2276/0.2276, allocations: 46.89 MB / 361.1 MB, free: 4.656 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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",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.002272/0.002272, allocations: 79.81 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3537, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6882/1.042, allocations: 361.2 MB / 0.9139 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.5877/1.629, allocations: 104.8 MB / 1.016 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01306/1.643, allocations: 303.1 kB / 1.017 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01565/1.658, allocations: 5.161 MB / 1.022 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04749/1.706, allocations: 18.17 MB / 1.039 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.05943/1.765, allocations: 26.06 MB / 1.065 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04822/1.813, allocations: 34.09 MB / 1.098 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01398/1.827, allocations: 6.505 MB / 1.104 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4623/2.29, allocations: 201.7 MB / 1.301 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6571/2.947, allocations: 68.71 MB / 1.368 GB, free: 231.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.01006/2.957, allocations: 1.154 MB / 1.37 GB, free: 231.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04529/3.002, allocations: 12 MB / 1.381 GB, free: 231.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01194/3.014, allocations: 5.822 MB / 1.387 GB, free: 231.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02323/3.037, allocations: 8.447 MB / 1.395 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.05875/3.096, allocations: 27.92 MB / 1.423 GB, free: 228.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/3.096, allocations: 0 / 1.423 GB, free: 228.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.695e-06/3.096, allocations: 7.719 kB / 1.423 GB, free: 228.2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.001014/3.097, allocations: 3.938 kB / 1.423 GB, free: 228.2 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.06246/3.159, allocations: 18.04 MB / 1.44 GB, free: 220 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/3.16, allocations: 14.36 kB / 1.44 GB, free: 220 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03717/3.197, allocations: 4.591 MB / 1.445 GB, free: 218.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/3.219, allocations: 7.832 MB / 1.452 GB, free: 214.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002188/3.221, allocations: 1.208 MB / 1.453 GB, free: 213.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006293/3.228, allocations: 1.166 MB / 1.455 GB, free: 212.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.066/3.294, allocations: 24.5 MB / 1.479 GB, free: 193.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004652/3.294, allocations: 54.94 kB / 1.479 GB, free: 193.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004489/3.299, allocations: 0.5489 MB / 1.479 GB, free: 193.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001451/3.3, allocations: 1.515 MB / 1.481 GB, free: 192.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05342/3.353, allocations: 22.55 MB / 1.503 GB, free: 175.8 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.1287/3.482, allocations: 107.8 MB / 1.608 GB, free: 61.4 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03648/3.519, allocations: 14.41 MB / 1.622 GB, free: 46.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01142/3.53, allocations: 5.861 MB / 1.628 GB, free: 40.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03044/3.56, allocations: 17.59 MB / 1.645 GB, free: 21.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/3.561, allocations: 170.2 kB / 1.645 GB, free: 21.13 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 1.182e-05/3.561, allocations: 0 / 1.645 GB, free: 21.13 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! 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.679223550949246] Failed to read output from testmodel.py, exit status != 0: 4.111223033629358 4.120742115 1.021966055 Calling exit ...