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.001064/0.001068, allocations: 115.8 kB / 18.4 MB, free: 4.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 211.5 kB / 19.35 MB, free: 3.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 80.44 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1382, allocations: 62.43 MB / 481.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9513/1.09, allocations: 355.4 MB / 0.8172 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.131/1.221, allocations: 104.4 MB / 0.9192 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01359/1.234, allocations: 302.1 kB / 0.9194 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01625/1.251, allocations: 5.072 MB / 0.9244 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.05785/1.308, allocations: 17.94 MB / 0.9419 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.6214/1.93, allocations: 25.97 MB / 0.9673 GB, free: 18.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0517/1.982, allocations: 34.01 MB / 1 GB, free: 18.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01788/2, allocations: 7.638 MB / 1.008 GB, free: 33.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4748/2.474, allocations: 200.8 MB / 1.204 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.674/3.148, allocations: 67.87 MB / 1.27 GB, free: 178.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.007876/3.156, allocations: 1.157 MB / 1.271 GB, free: 178.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04397/3.2, allocations: 11.93 MB / 1.283 GB, free: 178.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01576/3.216, allocations: 5.702 MB / 1.289 GB, free: 178.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02845/3.245, allocations: 8.449 MB / 1.297 GB, free: 177.4 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.06691/3.312, allocations: 27.81 MB / 1.324 GB, free: 174.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/3.312, allocations: 0 / 1.324 GB, free: 174.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/3.312, allocations: 0 / 1.324 GB, free: 174.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001055/3.313, allocations: 0 / 1.324 GB, free: 174.5 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.06645/3.379, allocations: 17.61 MB / 1.341 GB, free: 168.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/3.379, allocations: 9.75 kB / 1.341 GB, free: 168.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03565/3.415, allocations: 4.51 MB / 1.346 GB, free: 166.4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/3.435, allocations: 7.793 MB / 1.353 GB, free: 161.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001771/3.437, allocations: 1.209 MB / 1.354 GB, free: 161.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005116/3.442, allocations: 1.165 MB / 1.356 GB, free: 160.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06749/3.51, allocations: 24.51 MB / 1.38 GB, free: 141.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006568/3.51, allocations: 50.66 kB / 1.38 GB, free: 141.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005348/3.516, allocations: 0.5489 MB / 1.38 GB, free: 141.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001411/3.517, allocations: 1.514 MB / 1.382 GB, free: 139.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05613/3.573, allocations: 22.54 MB / 1.404 GB, free: 123.4 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.1203/3.693, allocations: 107.6 MB / 1.509 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03502/3.729, allocations: 14.72 MB / 1.523 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01347/3.742, allocations: 6.043 MB / 1.529 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03238/3.774, allocations: 17.61 MB / 1.546 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/3.775, allocations: 169.5 kB / 1.546 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 1.026e-05/3.775, allocations: 3.844 kB / 1.546 GB, free: 2.211 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!