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.001653/0.001653, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.328/2.328, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4385/0.4385, allocations: 46.1 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 73.75 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1826, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.442/1.625, allocations: 362.5 MB / 0.8227 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2282/1.853, allocations: 106.8 MB / 0.927 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02238/1.876, allocations: 345.4 kB / 0.9273 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.02409/1.9, allocations: 4.555 MB / 0.9318 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.08288/1.983, allocations: 16.37 MB / 0.9478 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.8597/2.843, allocations: 24.01 MB / 0.9712 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.09177/2.934, allocations: 48.53 MB / 1.019 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03025/2.965, allocations: 6.44 MB / 1.025 GB, free: 31.15 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7915/3.756, allocations: 199.2 MB / 1.219 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.112/4.868, allocations: 68.48 MB / 1.286 GB, free: 175.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.01016/4.878, allocations: 0.5557 MB / 1.287 GB, free: 175.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06178/4.94, allocations: 11.28 MB / 1.298 GB, free: 175.4 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01802/4.958, allocations: 5.098 MB / 1.303 GB, free: 175.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.04042/4.999, allocations: 7.788 MB / 1.31 GB, free: 173.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.06228/5.061, allocations: 20.8 MB / 1.331 GB, free: 168.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/5.061, allocations: 0 / 1.331 GB, free: 168.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.745e-06/5.061, allocations: 0 / 1.331 GB, free: 168.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001331/5.062, allocations: 0 / 1.331 GB, free: 168.2 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.1107/5.173, allocations: 17.67 MB / 1.348 GB, free: 158.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.883e-05/5.173, allocations: 8.031 kB / 1.348 GB, free: 158.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06597/5.239, allocations: 4.523 MB / 1.352 GB, free: 154.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0353/5.275, allocations: 7.413 MB / 1.36 GB, free: 149 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003564/5.278, allocations: 1.211 MB / 1.361 GB, free: 148.3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009139/5.287, allocations: 1.164 MB / 1.362 GB, free: 147.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1131/5.401, allocations: 24.55 MB / 1.386 GB, free: 128.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001233/5.402, allocations: 50.28 kB / 1.386 GB, free: 128.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01056/5.413, allocations: 0.5559 MB / 1.387 GB, free: 128.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002869/5.415, allocations: 1.517 MB / 1.388 GB, free: 126.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09831/5.514, allocations: 22.54 MB / 1.41 GB, free: 110.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.2156/5.729, allocations: 107.6 MB / 1.515 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06865/5.798, allocations: 14.7 MB / 1.53 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02454/5.823, allocations: 6.051 MB / 1.535 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5375/6.36, allocations: 17.54 MB / 1.553 GB, free: 451.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/6.361, allocations: 172.7 kB / 1.553 GB, free: 451.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 9.529e-05/6.361, allocations: 1.094 kB / 1.553 GB, free: 451.7 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!