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.001455/0.001455, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 204.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 75.89 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4983, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8821/1.38, allocations: 355.4 MB / 0.8781 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1589/1.539, allocations: 104.3 MB / 0.98 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01704/1.557, allocations: 306 kB / 0.9803 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01983/1.576, allocations: 5.087 MB / 0.9853 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.7441/2.321, allocations: 18.14 MB / 1.003 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.07951/2.4, allocations: 26.02 MB / 1.028 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.05525/2.455, allocations: 34.08 MB / 1.062 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01994/2.475, allocations: 7.647 MB / 1.069 GB, free: 24.17 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4331/2.909, allocations: 201.2 MB / 1.266 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1382/3.047, allocations: 67.88 MB / 1.332 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.9668/4.014, allocations: 1.152 MB / 1.333 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03867/4.052, allocations: 11.93 MB / 1.345 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01184/4.064, allocations: 5.699 MB / 1.35 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02528/4.09, allocations: 8.445 MB / 1.359 GB, free: 231.9 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.05831/4.148, allocations: 27.82 MB / 1.386 GB, free: 228.8 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/4.148, allocations: 0 / 1.386 GB, free: 228.8 MB / 0.9357 GB Notification: Performance of FrontEnd: time 2.104e-06/4.148, allocations: 0 / 1.386 GB, free: 228.8 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.000928/4.149, allocations: 0 / 1.386 GB, free: 228.8 MB / 0.9357 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.05772/4.207, allocations: 17.62 MB / 1.403 GB, free: 223 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/4.207, allocations: 10.56 kB / 1.403 GB, free: 223 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03666/4.243, allocations: 4.512 MB / 1.407 GB, free: 222.3 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02183/4.265, allocations: 7.783 MB / 1.415 GB, free: 220 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001864/4.267, allocations: 1.215 MB / 1.416 GB, free: 219.9 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006145/4.273, allocations: 1.16 MB / 1.417 GB, free: 219.9 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06927/4.343, allocations: 24.51 MB / 1.441 GB, free: 208.3 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000544/4.343, allocations: 51.31 kB / 1.441 GB, free: 208.3 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005152/4.348, allocations: 0.5534 MB / 1.442 GB, free: 208.2 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001617/4.35, allocations: 1.516 MB / 1.443 GB, free: 206.8 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05448/4.405, allocations: 22.54 MB / 1.465 GB, free: 190.5 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.1251/4.53, allocations: 107.6 MB / 1.57 GB, free: 81.93 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03654/4.566, allocations: 14.72 MB / 1.585 GB, free: 67.13 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01197/4.578, allocations: 6.038 MB / 1.591 GB, free: 61.04 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02956/4.608, allocations: 17.61 MB / 1.608 GB, free: 41.34 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/4.608, allocations: 175.9 kB / 1.608 GB, free: 41.16 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 1.036e-05/4.608, allocations: 0 / 1.608 GB, free: 41.16 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!