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.001341/0.001341, allocations: 116.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001577/0.001578, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 87.91 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1154, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8113/0.9267, allocations: 360.8 MB / 0.8207 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1317/1.058, allocations: 105 MB / 0.9233 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01404/1.073, allocations: 357.3 kB / 0.9236 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01833/1.091, allocations: 4.586 MB / 0.9281 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.05253/1.144, allocations: 16.65 MB / 0.9443 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.4878/1.631, allocations: 24.31 MB / 0.9681 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04076/1.672, allocations: 34.13 MB / 1.001 GB, free: 17.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01512/1.687, allocations: 7.607 MB / 1.009 GB, free: 32.38 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3758/2.063, allocations: 201.3 MB / 1.205 GB, free: 11.86 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6388/2.702, allocations: 68.86 MB / 1.273 GB, free: 177.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.005606/2.708, allocations: 1.16 MB / 1.274 GB, free: 177.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03659/2.744, allocations: 11.86 MB / 1.285 GB, free: 177.1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01034/2.755, allocations: 5.752 MB / 1.291 GB, free: 177.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02192/2.777, allocations: 8.464 MB / 1.299 GB, free: 175.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.05208/2.829, allocations: 27.53 MB / 1.326 GB, free: 172.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/2.829, allocations: 0 / 1.326 GB, free: 172.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/2.829, allocations: 4.875 kB / 1.326 GB, free: 172.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0009741/2.83, allocations: 0 / 1.326 GB, free: 172.2 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.06491/2.895, allocations: 17.63 MB / 1.343 GB, free: 163.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/2.895, allocations: 9.688 kB / 1.343 GB, free: 163.7 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009175/2.904, allocations: 1.88 MB / 1.345 GB, free: 163.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03734/2.941, allocations: 4.511 MB / 1.35 GB, free: 161.4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/2.961, allocations: 7.419 MB / 1.357 GB, free: 156.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002565/2.964, allocations: 1.208 MB / 1.358 GB, free: 155.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006472/2.97, allocations: 1.165 MB / 1.359 GB, free: 154.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06747/3.038, allocations: 24.55 MB / 1.383 GB, free: 135.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004263/3.038, allocations: 52.53 kB / 1.383 GB, free: 135.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004456/3.042, allocations: 0.5491 MB / 1.384 GB, free: 135.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/3.044, allocations: 1.514 MB / 1.385 GB, free: 133.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05653/3.101, allocations: 22.55 MB / 1.407 GB, free: 117.6 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.1423/3.243, allocations: 107.6 MB / 1.512 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04146/3.284, allocations: 14.69 MB / 1.527 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01626/3.301, allocations: 6.044 MB / 1.533 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5281/3.829, allocations: 17.54 MB / 1.55 GB, free: 196.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/3.829, allocations: 165.5 kB / 1.55 GB, free: 196.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 1.373e-05/3.829, allocations: 0 / 1.55 GB, free: 196.1 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!