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.00149/0.00149, allocations: 110 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001412, allocations: 209.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.6 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.2092/0.2092, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 71.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.399, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7242/1.123, allocations: 355.4 MB / 0.8788 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1357/1.259, allocations: 104.3 MB / 0.9806 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01307/1.272, allocations: 306.1 kB / 0.9809 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0166/1.289, allocations: 5.099 MB / 0.9859 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.6268/1.916, allocations: 18.14 MB / 1.004 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.07568/1.991, allocations: 26.02 MB / 1.029 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.05142/2.043, allocations: 34.07 MB / 1.062 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01798/2.061, allocations: 7.648 MB / 1.07 GB, free: 24.15 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4974/2.558, allocations: 201.2 MB / 1.266 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1505/2.709, allocations: 67.89 MB / 1.333 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.082/3.791, allocations: 1.152 MB / 1.334 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04163/3.833, allocations: 11.93 MB / 1.345 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01215/3.845, allocations: 5.698 MB / 1.351 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.03121/3.876, allocations: 8.443 MB / 1.359 GB, free: 231.8 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.06811/3.945, allocations: 27.82 MB / 1.386 GB, free: 228.7 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/3.945, allocations: 0 / 1.386 GB, free: 228.7 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.753e-06/3.945, allocations: 0 / 1.386 GB, free: 228.7 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.001055/3.946, allocations: 3.562 kB / 1.386 GB, free: 228.7 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.06208/4.008, allocations: 17.62 MB / 1.404 GB, free: 223 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/4.008, allocations: 7.344 kB / 1.404 GB, free: 223 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03736/4.045, allocations: 4.511 MB / 1.408 GB, free: 222.2 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0202/4.065, allocations: 7.788 MB / 1.416 GB, free: 219.9 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00188/4.067, allocations: 1.206 MB / 1.417 GB, free: 219.8 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005547/4.073, allocations: 1.166 MB / 1.418 GB, free: 219.8 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06956/4.142, allocations: 24.5 MB / 1.442 GB, free: 208.1 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008071/4.143, allocations: 55.44 kB / 1.442 GB, free: 208.1 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005772/4.149, allocations: 0.5503 MB / 1.442 GB, free: 208 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/4.151, allocations: 1.516 MB / 1.444 GB, free: 206.7 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05255/4.203, allocations: 22.55 MB / 1.466 GB, free: 190.3 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.1307/4.334, allocations: 107.6 MB / 1.571 GB, free: 81.68 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03454/4.369, allocations: 14.72 MB / 1.585 GB, free: 66.89 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01217/4.381, allocations: 6.042 MB / 1.591 GB, free: 60.79 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0321/4.413, allocations: 17.61 MB / 1.608 GB, free: 41.09 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/4.413, allocations: 176.5 kB / 1.609 GB, free: 40.92 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 1.901e-05/4.413, allocations: 4 kB / 1.609 GB, free: 40.91 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!