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.001132/0.001132, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 205.9 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.001601, allocations: 79.81 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.482, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8438/1.326, allocations: 355.4 MB / 0.8781 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1547/1.481, allocations: 104.3 MB / 0.98 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0193/1.5, allocations: 306.1 kB / 0.9803 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01921/1.519, allocations: 5.083 MB / 0.9852 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.7906/2.31, allocations: 18.14 MB / 1.003 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.07528/2.385, allocations: 26.02 MB / 1.028 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.05383/2.439, allocations: 34.07 MB / 1.062 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01882/2.458, allocations: 7.647 MB / 1.069 GB, free: 24.22 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4853/2.943, allocations: 201.2 MB / 1.266 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1502/3.094, allocations: 67.88 MB / 1.332 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.9477/4.041, allocations: 1.155 MB / 1.333 GB, free: 232.2 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03887/4.08, allocations: 11.93 MB / 1.345 GB, free: 232.2 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.0104/4.091, allocations: 5.7 MB / 1.35 GB, free: 232.2 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02717/4.118, allocations: 8.446 MB / 1.359 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.06053/4.178, allocations: 27.82 MB / 1.386 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/4.178, allocations: 0 / 1.386 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of FrontEnd: time 2.866e-06/4.178, allocations: 0 / 1.386 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0009824/4.179, allocations: 3.938 kB / 1.386 GB, free: 228.9 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.06253/4.242, allocations: 17.62 MB / 1.403 GB, free: 223.2 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/4.242, allocations: 6.281 kB / 1.403 GB, free: 223.2 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03825/4.28, allocations: 4.513 MB / 1.407 GB, free: 222.4 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01835/4.299, allocations: 7.785 MB / 1.415 GB, free: 220 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001806/4.301, allocations: 1.209 MB / 1.416 GB, free: 219.9 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005206/4.306, allocations: 1.167 MB / 1.417 GB, free: 219.9 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07233/4.378, allocations: 24.5 MB / 1.441 GB, free: 208.4 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007783/4.379, allocations: 53.23 kB / 1.441 GB, free: 208.4 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005715/4.385, allocations: 0.5512 MB / 1.442 GB, free: 208.2 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/4.386, allocations: 1.517 MB / 1.443 GB, free: 206.9 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0568/4.443, allocations: 22.55 MB / 1.465 GB, free: 190.6 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.1285/4.572, allocations: 107.6 MB / 1.57 GB, free: 82 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03978/4.611, allocations: 14.72 MB / 1.585 GB, free: 67.2 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01284/4.624, allocations: 6.037 MB / 1.591 GB, free: 61.1 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03154/4.656, allocations: 17.62 MB / 1.608 GB, free: 41.4 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/4.656, allocations: 171.2 kB / 1.608 GB, free: 41.23 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 2.438e-05/4.656, allocations: 0 / 1.608 GB, free: 41.23 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!