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.001192/0.001192, allocations: 117.7 kB / 17.78 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.001302/0.001301, allocations: 204.6 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.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2002/0.2002, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 71.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3762, allocations: 62.45 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7043/1.081, allocations: 355.4 MB / 0.8776 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1457/1.226, allocations: 104.3 MB / 0.9795 GB, free: 3.855 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01227/1.239, allocations: 302.1 kB / 0.9798 GB, free: 3.559 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.01451/1.253, allocations: 5.076 MB / 0.9848 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.5641/1.817, allocations: 17.94 MB / 1.002 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06114/1.879, allocations: 25.97 MB / 1.028 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.04565/1.924, allocations: 34.01 MB / 1.061 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.017/1.941, allocations: 7.641 MB / 1.068 GB, free: 24.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4368/2.378, allocations: 201.2 MB / 1.265 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1462/2.524, allocations: 67.89 MB / 1.331 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.007121/2.531, allocations: 1.152 MB / 1.332 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5608/3.092, allocations: 11.92 MB / 1.344 GB, free: 232 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.01258/3.105, allocations: 5.7 MB / 1.349 GB, free: 232 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0298/3.135, allocations: 8.442 MB / 1.358 GB, free: 231.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.06717/3.202, allocations: 27.82 MB / 1.385 GB, free: 228.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/3.202, allocations: 0 / 1.385 GB, free: 228.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/3.202, allocations: 3 kB / 1.385 GB, free: 228.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0009919/3.203, allocations: 3.969 kB / 1.385 GB, free: 228.8 MB / 0.9356 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.06807/3.271, allocations: 17.61 MB / 1.402 GB, free: 223 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/3.271, allocations: 9.719 kB / 1.402 GB, free: 223 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009067/3.28, allocations: 1.869 MB / 1.404 GB, free: 222.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03675/3.317, allocations: 4.513 MB / 1.408 GB, free: 222.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02516/3.342, allocations: 7.786 MB / 1.416 GB, free: 219.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002414/3.345, allocations: 1.207 MB / 1.417 GB, free: 219.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007438/3.352, allocations: 1.163 MB / 1.418 GB, free: 219.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07535/3.428, allocations: 24.51 MB / 1.442 GB, free: 207.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008998/3.429, allocations: 58.59 kB / 1.442 GB, free: 207.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006952/3.435, allocations: 0.5435 MB / 1.443 GB, free: 207.6 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001836/3.437, allocations: 1.519 MB / 1.444 GB, free: 206.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06247/3.5, allocations: 22.54 MB / 1.466 GB, free: 189.9 MB / 0.9356 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.1449/3.645, allocations: 107.6 MB / 1.571 GB, free: 80.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03894/3.684, allocations: 14.71 MB / 1.586 GB, free: 65.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01263/3.696, allocations: 6.032 MB / 1.592 GB, free: 59.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03249/3.729, allocations: 17.62 MB / 1.609 GB, free: 39.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/3.729, allocations: 162.4 kB / 1.609 GB, free: 39.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=798): time 1.975e-05/3.729, allocations: 0 / 1.609 GB, free: 39.66 MB / 0.9356 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!