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.0008/0.0008002, allocations: 94.77 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000904/0.0009042, allocations: 205.8 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 247.5 MB, free: 9.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.18 MB / 345.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002879, allocations: 11.94 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9333/1.056, allocations: 357.3 MB / 0.8214 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1247/1.18, allocations: 105.6 MB / 0.9245 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01425/1.195, allocations: 329.3 kB / 0.9248 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01599/1.211, allocations: 4.539 MB / 0.9293 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.05385/1.265, allocations: 16.38 MB / 0.9453 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.5277/1.792, allocations: 24.02 MB / 0.9687 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.05393/1.846, allocations: 48.52 MB / 1.016 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/1.86, allocations: 6.415 MB / 1.022 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4078/2.268, allocations: 199.2 MB / 1.217 GB, free: 12.46 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6348/2.903, allocations: 68.45 MB / 1.284 GB, free: 165.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.006171/2.909, allocations: 0.5451 MB / 1.284 GB, free: 165.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03825/2.947, allocations: 11.27 MB / 1.295 GB, free: 165.4 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01275/2.96, allocations: 5.096 MB / 1.3 GB, free: 164.1 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.02701/2.987, allocations: 7.794 MB / 1.308 GB, free: 161.4 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03849/3.025, allocations: 20.51 MB / 1.328 GB, free: 146.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/3.025, allocations: 0 / 1.328 GB, free: 146.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.647e-06/3.025, allocations: 0 / 1.328 GB, free: 146.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0008635/3.026, allocations: 4 kB / 1.328 GB, free: 146.5 MB / 0.795 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.04192/3.068, allocations: 14.81 MB / 1.342 GB, free: 132.9 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/3.068, allocations: 12.03 kB / 1.342 GB, free: 132.9 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03443/3.103, allocations: 4.764 MB / 1.347 GB, free: 128.4 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/3.121, allocations: 7.415 MB / 1.354 GB, free: 123.1 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001855/3.123, allocations: 1.2 MB / 1.355 GB, free: 122.4 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004629/3.128, allocations: 1.17 MB / 1.357 GB, free: 121.7 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06377/3.192, allocations: 25.05 MB / 1.381 GB, free: 102 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008061/3.193, allocations: 52.72 kB / 1.381 GB, free: 102 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005623/3.198, allocations: 0.5505 MB / 1.382 GB, free: 101.8 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/3.2, allocations: 1.516 MB / 1.383 GB, free: 100.5 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05817/3.258, allocations: 23.29 MB / 1.406 GB, free: 83.36 MB / 0.795 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.144/3.402, allocations: 108 MB / 1.511 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5467/3.949, allocations: 15.53 MB / 1.527 GB, free: 433.2 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/3.962, allocations: 6.291 MB / 1.533 GB, free: 431.5 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03078/3.993, allocations: 17.66 MB / 1.55 GB, free: 420.2 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/3.993, allocations: 162.3 kB / 1.55 GB, free: 420.1 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=798): time 2.412e-05/3.993, allocations: 0 / 1.55 GB, free: 420.1 MB / 0.8263 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!