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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 121.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 207.8 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247 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.226/0.226, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 75.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3458, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6885/1.034, allocations: 355.4 MB / 0.8777 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1448/1.179, allocations: 104.4 MB / 0.9796 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01155/1.191, allocations: 302.1 kB / 0.9799 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01594/1.207, allocations: 5.083 MB / 0.9849 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.5256/1.733, allocations: 17.94 MB / 1.002 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06593/1.799, allocations: 25.97 MB / 1.028 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.04522/1.844, allocations: 34.02 MB / 1.061 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01609/1.86, allocations: 7.642 MB / 1.068 GB, free: 24.14 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5087/2.369, allocations: 200.8 MB / 1.265 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1626/2.531, allocations: 67.88 MB / 1.331 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.8242/3.356, allocations: 1.154 MB / 1.332 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03528/3.391, allocations: 11.93 MB / 1.344 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01034/3.401, allocations: 5.702 MB / 1.349 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02405/3.425, allocations: 8.448 MB / 1.357 GB, free: 231.9 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.0526/3.478, allocations: 27.91 MB / 1.385 GB, free: 228.5 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/3.478, allocations: 0 / 1.385 GB, free: 228.5 MB / 0.9357 GB Notification: Performance of FrontEnd: time 2.475e-06/3.478, allocations: 0 / 1.385 GB, free: 228.5 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0009052/3.479, allocations: 0 / 1.385 GB, free: 228.5 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.05122/3.53, allocations: 18.06 MB / 1.402 GB, free: 222.3 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/3.53, allocations: 10 kB / 1.402 GB, free: 222.3 MB / 0.9357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006174/3.536, allocations: 1.866 MB / 1.404 GB, free: 222.2 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03592/3.572, allocations: 4.587 MB / 1.409 GB, free: 221.3 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/3.589, allocations: 7.847 MB / 1.416 GB, free: 218.6 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001669/3.591, allocations: 1.201 MB / 1.417 GB, free: 218.6 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005/3.596, allocations: 1.168 MB / 1.419 GB, free: 218.6 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06069/3.657, allocations: 24.5 MB / 1.443 GB, free: 206.7 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004416/3.657, allocations: 55 kB / 1.443 GB, free: 206.6 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004065/3.661, allocations: 0.5502 MB / 1.443 GB, free: 206.5 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00201/3.663, allocations: 1.516 MB / 1.445 GB, free: 205.2 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05048/3.714, allocations: 22.54 MB / 1.467 GB, free: 188.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.1097/3.824, allocations: 107.8 MB / 1.572 GB, free: 79.09 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03662/3.86, allocations: 14.72 MB / 1.586 GB, free: 64.29 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01103/3.871, allocations: 6.043 MB / 1.592 GB, free: 58.2 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02988/3.901, allocations: 17.6 MB / 1.609 GB, free: 38.51 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/3.901, allocations: 172.7 kB / 1.61 GB, free: 38.34 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 1.006e-05/3.901, allocations: 0 / 1.61 GB, free: 38.34 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!