Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001647/0.001647, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001963, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2213/0.2213, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 79.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3404, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.684/1.024, allocations: 355.4 MB / 0.8777 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1453/1.17, allocations: 104.4 MB / 0.9796 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.012/1.182, allocations: 306.1 kB / 0.9799 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01665/1.199, allocations: 5.076 MB / 0.9849 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.4877/1.686, allocations: 17.93 MB / 1.002 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06394/1.75, allocations: 25.98 MB / 1.028 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.03917/1.789, allocations: 34.02 MB / 1.061 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/1.803, allocations: 7.646 MB / 1.068 GB, free: 24.22 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4933/2.297, allocations: 200.8 MB / 1.265 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1609/2.458, allocations: 67.89 MB / 1.331 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.006978/2.465, allocations: 1.152 MB / 1.332 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5004/2.965, allocations: 11.93 MB / 1.344 GB, free: 232.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0145/2.98, allocations: 5.696 MB / 1.349 GB, free: 232.1 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.03086/3.01, allocations: 8.447 MB / 1.357 GB, free: 232 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.07094/3.081, allocations: 27.92 MB / 1.385 GB, free: 228.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/3.081, allocations: 0 / 1.385 GB, free: 228.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/3.081, allocations: 3.406 kB / 1.385 GB, free: 228.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.001088/3.083, allocations: 0 / 1.385 GB, free: 228.5 MB / 0.9356 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.0712/3.154, allocations: 18.05 MB / 1.402 GB, free: 222.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 8.327e-05/3.154, allocations: 11.5 kB / 1.402 GB, free: 222.3 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01057/3.164, allocations: 1.868 MB / 1.404 GB, free: 222.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03801/3.203, allocations: 4.583 MB / 1.409 GB, free: 221.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0249/3.227, allocations: 7.842 MB / 1.416 GB, free: 218.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002111/3.23, allocations: 1.205 MB / 1.417 GB, free: 218.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005926/3.236, allocations: 1.168 MB / 1.419 GB, free: 218.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07223/3.308, allocations: 24.5 MB / 1.443 GB, free: 206.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005765/3.308, allocations: 51.03 kB / 1.443 GB, free: 206.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005335/3.314, allocations: 0.5531 MB / 1.443 GB, free: 206.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001646/3.315, allocations: 1.517 MB / 1.445 GB, free: 205.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05453/3.37, allocations: 22.55 MB / 1.467 GB, free: 188.8 MB / 0.9356 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.1272/3.497, allocations: 107.8 MB / 1.572 GB, free: 79.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03554/3.533, allocations: 14.72 MB / 1.586 GB, free: 64.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01202/3.545, allocations: 6.03 MB / 1.592 GB, free: 58.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03035/3.575, allocations: 17.61 MB / 1.609 GB, free: 38.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/3.575, allocations: 162.3 kB / 1.61 GB, free: 38.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=798): time 1.025e-05/3.575, allocations: 0 / 1.61 GB, free: 38.45 MB / 0.9356 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!