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.001525/0.001525, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2326/0.2326, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.003215/0.003215, allocations: 85.06 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.151, allocations: 62.46 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9327/1.084, allocations: 355.4 MB / 0.8161 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1489/1.233, allocations: 104.3 MB / 0.918 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01506/1.248, allocations: 306.1 kB / 0.9182 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01818/1.266, allocations: 5.076 MB / 0.9232 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.05752/1.324, allocations: 17.95 MB / 0.9407 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5922/1.916, allocations: 25.97 MB / 0.9661 GB, free: 18.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.05514/1.971, allocations: 34.03 MB / 0.9993 GB, free: 18.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01715/1.988, allocations: 7.653 MB / 1.007 GB, free: 33.72 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.497/2.485, allocations: 200.7 MB / 1.203 GB, free: 40 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7168/3.202, allocations: 67.9 MB / 1.269 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.007462/3.21, allocations: 1.159 MB / 1.27 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03965/3.249, allocations: 11.77 MB / 1.282 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0119/3.261, allocations: 5.719 MB / 1.287 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02827/3.29, allocations: 8.462 MB / 1.296 GB, free: 177.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.06355/3.353, allocations: 27.5 MB / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/3.353, allocations: 0 / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.744e-06/3.353, allocations: 1.594 kB / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001016/3.354, 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.06717/3.421, allocations: 17.63 MB / 1.34 GB, free: 168.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/3.421, allocations: 9.5 kB / 1.34 GB, free: 168.6 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01026/3.432, allocations: 1.872 MB / 1.342 GB, free: 168.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03787/3.47, allocations: 4.518 MB / 1.346 GB, free: 166.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02382/3.493, allocations: 7.423 MB / 1.353 GB, free: 162.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002353/3.496, allocations: 1.209 MB / 1.354 GB, free: 161.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006891/3.503, allocations: 1.162 MB / 1.355 GB, free: 160.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07054/3.573, allocations: 24.55 MB / 1.379 GB, free: 141.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007046/3.574, allocations: 51.41 kB / 1.38 GB, free: 141.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005884/3.58, allocations: 0.55 MB / 1.38 GB, free: 141.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001613/3.582, allocations: 1.518 MB / 1.382 GB, free: 140.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05698/3.639, allocations: 22.55 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.1249/3.764, allocations: 108.1 MB / 1.509 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0382/3.802, allocations: 14.72 MB / 1.524 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01401/3.816, allocations: 6.06 MB / 1.529 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03753/3.853, allocations: 17.53 MB / 1.547 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/3.854, allocations: 164 kB / 1.547 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 9.808e-06/3.854, allocations: 0 / 1.547 GB, free: 1.238 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!