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.001269/0.001269, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001284, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 71.75 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9556/1.064, allocations: 355.4 MB / 0.816 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1392/1.203, allocations: 104.4 MB / 0.9179 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01502/1.218, allocations: 302.1 kB / 0.9182 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01749/1.236, allocations: 5.079 MB / 0.9231 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.06347/1.299, allocations: 17.93 MB / 0.9406 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5683/1.867, allocations: 25.97 MB / 0.966 GB, free: 18.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.05502/1.922, allocations: 34.03 MB / 0.9992 GB, free: 18.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01995/1.942, allocations: 7.645 MB / 1.007 GB, free: 33.92 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4707/2.413, allocations: 200.7 MB / 1.203 GB, free: 408 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7531/3.166, allocations: 67.9 MB / 1.269 GB, free: 178.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.008679/3.175, allocations: 1.162 MB / 1.27 GB, free: 178.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04886/3.224, allocations: 11.77 MB / 1.282 GB, free: 178.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0138/3.238, allocations: 5.717 MB / 1.287 GB, free: 178.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.03321/3.271, allocations: 8.46 MB / 1.295 GB, free: 177.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.06381/3.335, allocations: 27.5 MB / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/3.335, allocations: 1.594 kB / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/3.335, allocations: 2.594 kB / 1.322 GB, free: 174.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001018/3.336, allocations: 3.969 kB / 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.06319/3.399, allocations: 17.63 MB / 1.34 GB, free: 168.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/3.399, allocations: 10.72 kB / 1.34 GB, free: 168.7 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00717/3.406, allocations: 1.872 MB / 1.341 GB, free: 168.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0357/3.442, allocations: 4.52 MB / 1.346 GB, free: 166.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01831/3.46, allocations: 7.418 MB / 1.353 GB, free: 162.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002055/3.463, allocations: 1.207 MB / 1.354 GB, free: 162 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005989/3.469, allocations: 1.168 MB / 1.355 GB, free: 161.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07129/3.54, allocations: 24.55 MB / 1.379 GB, free: 142.1 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007039/3.541, allocations: 50.66 kB / 1.379 GB, free: 142.1 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006254/3.547, allocations: 0.5524 MB / 1.38 GB, free: 141.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001701/3.549, allocations: 1.513 MB / 1.381 GB, free: 140.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05765/3.606, allocations: 22.55 MB / 1.403 GB, free: 124.2 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.135/3.741, allocations: 108.1 MB / 1.509 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03821/3.78, allocations: 14.72 MB / 1.523 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01508/3.795, allocations: 6.041 MB / 1.529 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03729/3.832, allocations: 17.53 MB / 1.546 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/3.832, allocations: 172.9 kB / 1.547 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 2.198e-05/3.832, allocations: 0 / 1.547 GB, free: 1.758 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!