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.00142/0.00142, allocations: 106.2 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 75.56 kB / 417.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1389, allocations: 62.43 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.009/1.148, allocations: 360.8 MB / 0.8206 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.132/1.28, allocations: 105 MB / 0.9231 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0164/1.297, allocations: 349.3 kB / 0.9235 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01656/1.313, allocations: 4.586 MB / 0.928 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.05243/1.366, allocations: 16.65 MB / 0.9442 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5195/1.885, allocations: 24.32 MB / 0.968 GB, free: 17.03 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.05139/1.937, allocations: 34.13 MB / 1.001 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01786/1.955, allocations: 7.601 MB / 1.009 GB, free: 32.26 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3895/2.344, allocations: 201.3 MB / 1.205 GB, free: 11.87 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5342/2.878, allocations: 68.86 MB / 1.273 GB, free: 177.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.006505/2.885, allocations: 1.159 MB / 1.274 GB, free: 177.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03693/2.922, allocations: 11.86 MB / 1.285 GB, free: 177.1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01094/2.933, allocations: 5.741 MB / 1.291 GB, free: 177.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02283/2.956, allocations: 8.47 MB / 1.299 GB, free: 175.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.05528/3.011, allocations: 27.54 MB / 1.326 GB, free: 172.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/3.011, allocations: 0 / 1.326 GB, free: 172.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.454e-06/3.011, allocations: 0 / 1.326 GB, free: 172.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0009195/3.012, allocations: 4 kB / 1.326 GB, free: 172.3 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.05682/3.069, allocations: 17.63 MB / 1.343 GB, free: 163.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/3.069, allocations: 8.938 kB / 1.343 GB, free: 163.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03694/3.106, allocations: 4.517 MB / 1.348 GB, free: 162 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02217/3.128, allocations: 7.415 MB / 1.355 GB, free: 157.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001866/3.13, allocations: 1.207 MB / 1.356 GB, free: 156.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005629/3.136, allocations: 1.167 MB / 1.357 GB, free: 155.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06154/3.197, allocations: 24.55 MB / 1.381 GB, free: 136.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005064/3.198, allocations: 54.94 kB / 1.381 GB, free: 136.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004624/3.202, allocations: 0.5463 MB / 1.382 GB, free: 136.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001454/3.204, allocations: 1.516 MB / 1.383 GB, free: 135.1 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05245/3.256, allocations: 22.55 MB / 1.405 GB, free: 118.7 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.1211/3.377, allocations: 107.6 MB / 1.51 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0397/3.417, allocations: 14.72 MB / 1.525 GB, free: 7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01325/3.43, allocations: 6.047 MB / 1.531 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4024/3.833, allocations: 17.53 MB / 1.548 GB, free: 197.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/3.833, allocations: 166 kB / 1.548 GB, free: 197.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 4.075e-05/3.833, allocations: 1.094 kB / 1.548 GB, free: 197.4 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!