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.001096/0.001096, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 71.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3766, allocations: 62.45 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6626/1.039, allocations: 355.4 MB / 0.8788 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.123/1.162, allocations: 104.3 MB / 0.9807 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01197/1.174, allocations: 302.1 kB / 0.981 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01576/1.19, allocations: 5.072 MB / 0.9859 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.5464/1.736, allocations: 17.94 MB / 1.003 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06844/1.805, allocations: 25.97 MB / 1.029 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.04744/1.852, allocations: 34.01 MB / 1.062 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0147/1.867, allocations: 7.643 MB / 1.069 GB, free: 24.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3952/2.262, allocations: 201.2 MB / 1.266 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1355/2.398, allocations: 67.89 MB / 1.332 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.8262/3.224, allocations: 1.153 MB / 1.333 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03767/3.262, allocations: 11.93 MB / 1.345 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01154/3.273, allocations: 5.701 MB / 1.351 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02685/3.3, allocations: 8.448 MB / 1.359 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.05743/3.358, allocations: 27.82 MB / 1.386 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/3.358, allocations: 0 / 1.386 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of FrontEnd: time 2.985e-06/3.358, allocations: 2.125 kB / 1.386 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0009728/3.359, allocations: 0 / 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.05784/3.417, allocations: 17.61 MB / 1.403 GB, free: 223.1 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/3.417, allocations: 13.22 kB / 1.403 GB, free: 223.1 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03708/3.454, allocations: 4.509 MB / 1.408 GB, free: 222.4 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/3.474, allocations: 7.789 MB / 1.415 GB, free: 220 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002044/3.476, allocations: 1.206 MB / 1.416 GB, free: 220 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006638/3.482, allocations: 1.164 MB / 1.418 GB, free: 220 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06666/3.549, allocations: 24.5 MB / 1.441 GB, free: 208.6 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007792/3.55, allocations: 54.84 kB / 1.442 GB, free: 208.6 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006183/3.556, allocations: 0.5488 MB / 1.442 GB, free: 208.4 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001754/3.558, allocations: 1.519 MB / 1.444 GB, free: 207.1 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05405/3.612, allocations: 22.55 MB / 1.466 GB, free: 190.8 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.1185/3.73, allocations: 107.6 MB / 1.571 GB, free: 82.04 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03387/3.764, allocations: 14.71 MB / 1.585 GB, free: 67.23 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01156/3.776, allocations: 6.05 MB / 1.591 GB, free: 61.14 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02824/3.804, allocations: 17.61 MB / 1.608 GB, free: 41.44 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/3.804, allocations: 169.2 kB / 1.608 GB, free: 41.28 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 1.015e-05/3.804, allocations: 0 / 1.608 GB, free: 41.28 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! Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck could not be translated