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.001318/0.001318, allocations: 107.9 kB / 17.63 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 210.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 76.59 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1502, allocations: 62.46 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.077/1.227, allocations: 355.4 MB / 0.816 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1479/1.375, allocations: 104.4 MB / 0.9179 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01729/1.392, allocations: 302.1 kB / 0.9182 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.02008/1.412, allocations: 5.076 MB / 0.9231 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.06517/1.478, allocations: 17.95 MB / 0.9406 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.7104/2.188, allocations: 25.97 MB / 0.966 GB, free: 18.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.05022/2.238, allocations: 34.04 MB / 0.9992 GB, free: 18.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0205/2.259, allocations: 7.639 MB / 1.007 GB, free: 34.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5294/2.788, allocations: 200.7 MB / 1.203 GB, free: 268 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7245/3.513, allocations: 67.91 MB / 1.269 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00883/3.522, allocations: 1.158 MB / 1.27 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04601/3.568, allocations: 11.77 MB / 1.282 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01619/3.584, allocations: 5.717 MB / 1.287 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.03296/3.617, allocations: 8.459 MB / 1.296 GB, free: 177.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0726/3.69, allocations: 27.51 MB / 1.322 GB, free: 175 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/3.69, allocations: 0 / 1.322 GB, free: 175 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/3.69, allocations: 3.875 kB / 1.322 GB, free: 175 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.00132/3.691, allocations: 0 / 1.322 GB, free: 175 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.06429/3.755, allocations: 17.63 MB / 1.34 GB, free: 168.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/3.755, allocations: 17.66 kB / 1.34 GB, free: 168.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03636/3.792, allocations: 4.516 MB / 1.344 GB, free: 166.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01955/3.811, allocations: 7.418 MB / 1.351 GB, free: 163.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00201/3.813, allocations: 1.204 MB / 1.352 GB, free: 162.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006812/3.82, allocations: 1.17 MB / 1.354 GB, free: 162.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07358/3.894, allocations: 24.54 MB / 1.378 GB, free: 143 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008169/3.895, allocations: 56.91 kB / 1.378 GB, free: 143 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006816/3.901, allocations: 0.5488 MB / 1.378 GB, free: 142.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001853/3.903, allocations: 1.517 MB / 1.38 GB, free: 141.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05891/3.962, allocations: 22.55 MB / 1.402 GB, free: 125.1 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.1401/4.102, allocations: 108.1 MB / 1.507 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03995/4.142, allocations: 14.73 MB / 1.522 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0163/4.159, allocations: 6.05 MB / 1.528 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04234/4.201, allocations: 17.53 MB / 1.545 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/4.202, allocations: 167.9 kB / 1.545 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 3.969e-05/4.202, allocations: 0 / 1.545 GB, free: 3.453 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!