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.001284/0.001284, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2488/0.2488, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002257/0.002257, allocations: 82.92 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1287, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.044/1.173, allocations: 355.4 MB / 0.8161 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1469/1.32, allocations: 104.4 MB / 0.918 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0124/1.332, allocations: 306.1 kB / 0.9183 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01671/1.349, allocations: 5.072 MB / 0.9232 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.06265/1.412, allocations: 17.94 MB / 0.9407 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5723/1.984, allocations: 25.98 MB / 0.9661 GB, free: 18.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04775/2.032, allocations: 34.04 MB / 0.9993 GB, free: 18.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01901/2.051, allocations: 7.64 MB / 1.007 GB, free: 33.72 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5049/2.556, allocations: 200.7 MB / 1.203 GB, free: 48 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7117/3.268, allocations: 67.9 MB / 1.269 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.009288/3.277, allocations: 1.158 MB / 1.27 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06093/3.338, allocations: 11.77 MB / 1.282 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01883/3.357, allocations: 5.719 MB / 1.287 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.03678/3.394, allocations: 8.459 MB / 1.296 GB, free: 177.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.08456/3.478, allocations: 27.51 MB / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/3.478, allocations: 0 / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.755e-06/3.478, allocations: 0 / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001055/3.479, allocations: 0 / 1.322 GB, free: 174.9 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.06406/3.544, allocations: 17.64 MB / 1.34 GB, free: 168.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/3.544, allocations: 11.12 kB / 1.34 GB, free: 168.6 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009431/3.553, allocations: 1.872 MB / 1.342 GB, free: 168.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03882/3.592, allocations: 4.517 MB / 1.346 GB, free: 166.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02518/3.617, allocations: 7.425 MB / 1.353 GB, free: 162.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002078/3.619, allocations: 1.206 MB / 1.354 GB, free: 161.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006876/3.626, allocations: 1.165 MB / 1.355 GB, free: 160.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07482/3.701, allocations: 24.55 MB / 1.379 GB, free: 141.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008574/3.702, allocations: 56.06 kB / 1.38 GB, free: 141.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006529/3.708, allocations: 0.5513 MB / 1.38 GB, free: 141.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001819/3.71, allocations: 1.51 MB / 1.382 GB, free: 140.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05865/3.769, allocations: 22.54 MB / 1.404 GB, free: 123.8 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.1335/3.903, allocations: 108.1 MB / 1.509 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0388/3.941, allocations: 14.72 MB / 1.524 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01467/3.956, allocations: 6.043 MB / 1.529 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0379/3.994, allocations: 17.53 MB / 1.547 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/3.994, allocations: 169.5 kB / 1.547 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 1.117e-05/3.994, allocations: 0 / 1.547 GB, free: 1.203 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!