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.001339/0.001339, allocations: 111.9 kB / 19.17 MB, free: 3.758 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.001358/0.001358, allocations: 212.9 kB / 22.13 MB, free: 0.8047 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.518/1.518, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.2539/0.2539, allocations: 46.88 MB / 358.1 MB, free: 10.51 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.00217/0.00217, allocations: 79.86 kB / 0.4924 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1494, allocations: 65.99 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.292/1.442, allocations: 357.8 MB / 0.9063 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1359/1.578, allocations: 104.5 MB / 1.008 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01563/1.593, allocations: 307.5 kB / 1.009 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01795/1.611, allocations: 5.162 MB / 1.014 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0628/1.674, allocations: 18.17 MB / 1.031 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.08432/1.758, allocations: 26.03 MB / 1.057 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.05803/1.816, allocations: 34.04 MB / 1.09 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01706/1.833, allocations: 6.881 MB / 1.097 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 1.098/2.931, allocations: 201.6 MB / 1.294 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1614/3.092, allocations: 68.7 MB / 1.361 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.008088/3.101, allocations: 1.16 MB / 1.362 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04463/3.145, allocations: 11.99 MB / 1.374 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01417/3.159, allocations: 5.803 MB / 1.379 GB, free: 468 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.02941/3.189, allocations: 8.445 MB / 1.388 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.08189/3.271, allocations: 27.93 MB / 1.415 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/3.271, allocations: 0 / 1.415 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.124e-06/3.271, allocations: 0 / 1.415 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.001025/3.272, allocations: 0 / 1.415 GB, free: 13.39 MB / 0.9044 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.0705/3.342, allocations: 18.05 MB / 1.432 GB, free: 11.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/3.342, allocations: 8.031 kB / 1.432 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03944/3.382, allocations: 4.588 MB / 1.437 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0254/3.407, allocations: 7.84 MB / 1.445 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00257/3.41, allocations: 1.204 MB / 1.446 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006154/3.416, allocations: 1.167 MB / 1.447 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08721/3.503, allocations: 24.51 MB / 1.471 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008945/3.504, allocations: 52.06 kB / 1.471 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006151/3.51, allocations: 0.5469 MB / 1.471 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002361/3.512, allocations: 1.515 MB / 1.473 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7431/4.256, allocations: 22.55 MB / 1.495 GB, free: 0.4894 GB / 0.9513 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.1251/4.381, allocations: 107.8 MB / 1.6 GB, free: 410.3 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0363/4.417, allocations: 14.4 MB / 1.614 GB, free: 398.3 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01168/4.429, allocations: 5.868 MB / 1.62 GB, free: 392.4 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02979/4.458, allocations: 17.59 MB / 1.637 GB, free: 373.3 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/4.459, allocations: 176 kB / 1.637 GB, free: 373.1 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 9.117e-06/4.459, allocations: 0 / 1.637 GB, free: 373.1 MB / 0.9513 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.453789529856294] Failed to read output from testmodel.py, exit status != 0: 4.659147805068642 4.66785357 1.394607921 Calling exit ...