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.001051/0.001051, allocations: 104.4 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.001108/0.001108, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1956/0.1956, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 80.45 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 62.44 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7838/0.8937, allocations: 355.4 MB / 0.816 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1157/1.01, allocations: 104.3 MB / 0.9179 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/1.021, allocations: 302.1 kB / 0.9182 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01464/1.036, allocations: 5.079 MB / 0.9231 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0455/1.081, allocations: 17.94 MB / 0.9406 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.4016/1.483, allocations: 25.98 MB / 0.966 GB, free: 18.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04103/1.524, allocations: 34.02 MB / 0.9992 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/1.538, allocations: 7.643 MB / 1.007 GB, free: 33.88 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4287/1.966, allocations: 200.7 MB / 1.203 GB, free: 284 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5369/2.503, allocations: 67.9 MB / 1.269 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.006065/2.509, allocations: 1.159 MB / 1.27 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03454/2.544, allocations: 11.77 MB / 1.282 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01169/2.556, allocations: 5.718 MB / 1.287 GB, free: 178.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02507/2.581, allocations: 8.459 MB / 1.295 GB, free: 177.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.05173/2.632, allocations: 27.5 MB / 1.322 GB, free: 175 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/2.632, allocations: 3.031 kB / 1.322 GB, free: 175 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/2.632, allocations: 0 / 1.322 GB, free: 175 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0007931/2.633, allocations: 0 / 1.322 GB, free: 175 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.05289/2.686, allocations: 17.64 MB / 1.34 GB, free: 168.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/2.686, allocations: 10.66 kB / 1.34 GB, free: 168.7 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006152/2.692, allocations: 1.872 MB / 1.341 GB, free: 168.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03494/2.727, allocations: 4.517 MB / 1.346 GB, free: 166.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/2.746, allocations: 7.423 MB / 1.353 GB, free: 162.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002146/2.748, allocations: 1.206 MB / 1.354 GB, free: 162 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00517/2.753, allocations: 1.167 MB / 1.355 GB, free: 161.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06201/2.815, allocations: 24.55 MB / 1.379 GB, free: 142 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005399/2.816, allocations: 52.91 kB / 1.379 GB, free: 142 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004706/2.821, allocations: 0.5548 MB / 1.38 GB, free: 141.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001492/2.822, allocations: 1.513 MB / 1.381 GB, free: 140.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05205/2.874, allocations: 22.54 MB / 1.403 GB, free: 124.1 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.119/2.993, allocations: 108.1 MB / 1.509 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03637/3.03, allocations: 14.71 MB / 1.523 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01361/3.043, allocations: 6.047 MB / 1.529 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03557/3.079, allocations: 17.54 MB / 1.546 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/3.079, allocations: 163.6 kB / 1.547 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 2.119e-05/3.079, allocations: 0 / 1.547 GB, free: 1.684 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!