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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 80.44 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8627/0.9826, allocations: 355.4 MB / 0.8172 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1248/1.107, allocations: 104.3 MB / 0.9191 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01259/1.12, allocations: 302.1 kB / 0.9194 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01579/1.136, allocations: 5.079 MB / 0.9244 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.05074/1.187, allocations: 17.94 MB / 0.9419 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.4923/1.679, allocations: 25.97 MB / 0.9673 GB, free: 18.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04026/1.719, allocations: 34.01 MB / 1 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01426/1.734, allocations: 7.65 MB / 1.008 GB, free: 33.45 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.437/2.171, allocations: 200.8 MB / 1.204 GB, free: 15.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.594/2.765, allocations: 67.87 MB / 1.27 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.006757/2.771, allocations: 1.155 MB / 1.271 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03949/2.811, allocations: 11.93 MB / 1.283 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01404/2.825, allocations: 5.703 MB / 1.289 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02699/2.852, allocations: 8.446 MB / 1.297 GB, free: 177.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.05923/2.911, allocations: 27.81 MB / 1.324 GB, free: 174.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/2.911, allocations: 0 / 1.324 GB, free: 174.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/2.911, allocations: 0 / 1.324 GB, free: 174.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0008967/2.912, allocations: 0 / 1.324 GB, free: 174.7 MB / 0.8262 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.0572/2.97, allocations: 17.62 MB / 1.341 GB, free: 168.4 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/2.97, allocations: 9.25 kB / 1.341 GB, free: 168.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03582/3.005, allocations: 4.511 MB / 1.346 GB, free: 166.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02272/3.028, allocations: 7.79 MB / 1.353 GB, free: 162 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001862/3.03, allocations: 1.206 MB / 1.354 GB, free: 161.3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005584/3.036, allocations: 1.17 MB / 1.356 GB, free: 160.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06742/3.103, allocations: 24.51 MB / 1.38 GB, free: 141.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007949/3.104, allocations: 50.66 kB / 1.38 GB, free: 141.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005487/3.109, allocations: 0.5471 MB / 1.38 GB, free: 141.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/3.111, allocations: 1.514 MB / 1.382 GB, free: 139.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05608/3.167, allocations: 22.55 MB / 1.404 GB, free: 123.5 MB / 0.8262 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.1355/3.303, allocations: 107.6 MB / 1.509 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03704/3.34, allocations: 14.73 MB / 1.523 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01472/3.355, allocations: 6.042 MB / 1.529 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03475/3.389, allocations: 17.61 MB / 1.546 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/3.39, allocations: 172.1 kB / 1.546 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 3.357e-05/3.39, allocations: 0 / 1.546 GB, free: 2.27 MB / 0.8575 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!