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.001306/0.001306, allocations: 117.6 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 75.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3306, allocations: 62.45 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.5894/0.9201, allocations: 355.4 MB / 0.8776 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1258/1.046, allocations: 104.3 MB / 0.9795 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01039/1.056, allocations: 302.1 kB / 0.9798 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01555/1.072, allocations: 5.083 MB / 0.9848 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.5003/1.572, allocations: 18.14 MB / 1.002 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06538/1.638, allocations: 26.02 MB / 1.028 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.04127/1.679, allocations: 34.08 MB / 1.061 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01668/1.696, allocations: 7.649 MB / 1.069 GB, free: 24.13 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4525/2.148, allocations: 201.2 MB / 1.265 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1508/2.299, allocations: 67.88 MB / 1.331 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.002/3.301, allocations: 1.152 MB / 1.333 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0373/3.338, allocations: 11.93 MB / 1.344 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01079/3.349, allocations: 5.703 MB / 1.35 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02564/3.375, allocations: 8.445 MB / 1.358 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.06696/3.442, allocations: 27.82 MB / 1.385 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/3.442, allocations: 3.656 kB / 1.385 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.603e-06/3.442, allocations: 0 / 1.385 GB, free: 228.9 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.001104/3.443, allocations: 0 / 1.385 GB, free: 228.9 MB / 0.9357 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.06908/3.512, allocations: 17.61 MB / 1.402 GB, free: 223.1 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/3.512, allocations: 9.406 kB / 1.402 GB, free: 223.1 MB / 0.9357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01075/3.523, allocations: 1.875 MB / 1.404 GB, free: 223 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03685/3.56, allocations: 4.504 MB / 1.409 GB, free: 222.2 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/3.581, allocations: 7.783 MB / 1.416 GB, free: 219.5 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002046/3.583, allocations: 1.215 MB / 1.417 GB, free: 219.5 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006011/3.589, allocations: 1.163 MB / 1.419 GB, free: 219.5 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06592/3.655, allocations: 24.51 MB / 1.443 GB, free: 207.4 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005618/3.655, allocations: 51.03 kB / 1.443 GB, free: 207.4 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00504/3.661, allocations: 0.5539 MB / 1.443 GB, free: 207.2 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/3.662, allocations: 1.514 MB / 1.445 GB, free: 205.9 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05485/3.717, allocations: 22.54 MB / 1.467 GB, free: 189.6 MB / 0.9357 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.13/3.847, allocations: 107.6 MB / 1.572 GB, free: 80.06 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03435/3.881, allocations: 14.71 MB / 1.586 GB, free: 65.27 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01192/3.893, allocations: 6.039 MB / 1.592 GB, free: 59.17 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0284/3.922, allocations: 17.61 MB / 1.609 GB, free: 39.47 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/3.922, allocations: 167.5 kB / 1.609 GB, free: 39.3 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 9.558e-06/3.922, allocations: 0 / 1.609 GB, free: 39.3 MB / 0.9357 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!