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: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.2 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 7.984 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 63.57 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9815/1.109, allocations: 357.3 MB / 0.8207 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1331/1.242, allocations: 105.6 MB / 0.9239 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01683/1.259, allocations: 329.3 kB / 0.9242 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0167/1.276, allocations: 4.543 MB / 0.9286 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.05773/1.334, allocations: 16.38 MB / 0.9446 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.5484/1.882, allocations: 24.02 MB / 0.9681 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.06052/1.943, allocations: 48.52 MB / 1.015 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01636/1.959, allocations: 6.422 MB / 1.022 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4046/2.364, allocations: 199.2 MB / 1.216 GB, free: 12.71 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5298/2.894, allocations: 68.45 MB / 1.283 GB, free: 166 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.005499/2.899, allocations: 0.5509 MB / 1.284 GB, free: 166 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03304/2.932, allocations: 11.26 MB / 1.295 GB, free: 166 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01009/2.942, allocations: 5.099 MB / 1.3 GB, free: 164.6 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.02099/2.963, allocations: 7.794 MB / 1.307 GB, free: 161.9 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.04957/3.013, allocations: 26.64 MB / 1.333 GB, free: 142.1 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/3.013, allocations: 0 / 1.333 GB, free: 142.1 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.687e-06/3.013, allocations: 2.625 kB / 1.333 GB, free: 142.1 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000936/3.014, allocations: 0 / 1.333 GB, free: 142.1 MB / 0.795 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.04018/3.054, allocations: 14.81 MB / 1.348 GB, free: 128.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/3.054, allocations: 9.625 kB / 1.348 GB, free: 128.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03356/3.088, allocations: 4.762 MB / 1.352 GB, free: 124 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/3.103, allocations: 7.42 MB / 1.36 GB, free: 118.7 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001652/3.104, allocations: 1.209 MB / 1.361 GB, free: 118 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003856/3.108, allocations: 1.163 MB / 1.362 GB, free: 117.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05976/3.168, allocations: 25.05 MB / 1.386 GB, free: 97.58 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004708/3.169, allocations: 52.84 kB / 1.386 GB, free: 97.56 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003465/3.172, allocations: 0.549 MB / 1.387 GB, free: 97.41 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001463/3.173, allocations: 1.521 MB / 1.389 GB, free: 96.08 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05291/3.226, allocations: 23.3 MB / 1.411 GB, free: 77.95 MB / 0.795 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.5631/3.79, allocations: 108 MB / 1.517 GB, free: 419.3 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04179/3.831, allocations: 15.55 MB / 1.532 GB, free: 418.7 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01256/3.844, allocations: 6.288 MB / 1.538 GB, free: 417.9 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03064/3.875, allocations: 17.65 MB / 1.555 GB, free: 406.6 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/3.875, allocations: 172.8 kB / 1.555 GB, free: 406.5 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=798): time 1.125e-05/3.875, allocations: 0 / 1.555 GB, free: 406.5 MB / 0.8263 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!