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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9386/0.9386, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2503/0.2503, allocations: 34.86 MB / 296.6 MB, free: 0.5742 MB / 266.7 MB " [Timeout remaining time 180] 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="mat",numberOfIntervals=5002,variableFilter="time|pipeAV_B2.state_a.h|pipeAV_B2.state_b.h|pipeAV_B3.state_a.h|pipeAV_B3.state_b.h|pipeAV_B4.state_a.h|pipeAV_B4.state_b.h|pipeA_VB2.state_a.h|pipeA_VB2.state_b.h|pipeA_VB3.state_a.h|pipeA_VB3.state_b.h|pipeA_VB4.state_a.h|pipeA_VB4.state_b.h|pipeAV_VB2.state_a.h|pipeAV_VB2.state_b.h|pipeAV_VB3.state_a.h|pipeAV_VB3.state_b.h|pipeAV_VB4.state_a.h|pipeAV_VB4.state_b.h|pipeA_V_B2.state_a.h|pipeA_V_B2.state_b.h|pipeA_V_B3.state_a.h|pipeA_V_B3.state_b.h|pipeA_V_B4.state_a.h|pipeA_V_B4.state_b.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|pipeAV_B2.state_a.h|pipeAV_B2.state_b.h|pipeAV_B3.state_a.h|pipeAV_B3.state_b.h|pipeAV_B4.state_a.h|pipeAV_B4.state_b.h|pipeA_VB2.state_a.h|pipeA_VB2.state_b.h|pipeA_VB3.state_a.h|pipeA_VB3.state_b.h|pipeA_VB4.state_a.h|pipeA_VB4.state_b.h|pipeAV_VB2.state_a.h|pipeAV_VB2.state_b.h|pipeAV_VB3.state_a.h|pipeAV_VB3.state_b.h|pipeAV_VB4.state_a.h|pipeAV_VB4.state_b.h|pipeA_V_B2.state_a.h|pipeA_V_B2.state_b.h|pipeA_V_B3.state_a.h|pipeA_V_B3.state_b.h|pipeA_V_B4.state_a.h|pipeA_V_B4.state_b.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.629e-05, allocations: 2.312 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6367/0.6368, allocations: 367.7 MB / 0.729 GB, free: 9.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4351/1.072, allocations: 106.9 MB / 0.8334 GB, free: 3.039 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01091/1.083, allocations: 425 kB / 0.8338 GB, free: 3.039 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.01423/1.097, allocations: 4.74 MB / 0.8384 GB, free: 3.027 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.04965/1.147, allocations: 18.9 MB / 0.8569 GB, free: 104 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.05864/1.205, allocations: 29.25 MB / 0.8855 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.03749/1.243, allocations: 33.83 MB / 0.9185 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01175/1.255, allocations: 7.109 MB / 0.9254 GB, free: 276 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7123/1.967, allocations: 202.5 MB / 1.123 GB, free: 168 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1055/2.072, allocations: 68.13 MB / 1.19 GB, free: 150.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.00591/2.078, allocations: 1.157 MB / 1.191 GB, free: 149.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02841/2.107, allocations: 11.41 MB / 1.202 GB, free: 141.6 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.01159/2.118, allocations: 6.123 MB / 1.208 GB, free: 138.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01513/2.133, allocations: 6.021 MB / 1.214 GB, free: 134.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.04381/2.177, allocations: 22.61 MB / 1.236 GB, free: 118.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/2.177, allocations: 0 / 1.236 GB, free: 118.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.655e-06/2.177, allocations: 4 kB / 1.236 GB, free: 118.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001158/2.178, allocations: 6.406 kB / 1.236 GB, free: 118.3 MB / 0.7448 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.03529/2.214, allocations: 18.06 MB / 1.254 GB, free: 100.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/2.214, allocations: 16.62 kB / 1.254 GB, free: 100.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02905/2.243, allocations: 7.107 MB / 1.261 GB, free: 93.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/2.256, allocations: 7.537 MB / 1.268 GB, free: 86.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001356/2.258, allocations: 1.194 MB / 1.269 GB, free: 85.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003658/2.261, allocations: 1.241 MB / 1.27 GB, free: 84.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0344/2.296, allocations: 22.25 MB / 1.292 GB, free: 59.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002414/2.296, allocations: 55.88 kB / 1.292 GB, free: 59.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/2.297, allocations: 0.5522 MB / 1.293 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009249/2.298, allocations: 1.525 MB / 1.294 GB, free: 57.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/2.323, allocations: 11.19 MB / 1.305 GB, free: 46.57 MB / 0.7448 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.4131/2.736, allocations: 80.88 MB / 1.384 GB, free: 358.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/2.754, allocations: 10.2 MB / 1.394 GB, free: 358 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004584/2.759, allocations: 2.287 MB / 1.396 GB, free: 357.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01805/2.777, allocations: 8.932 MB / 1.405 GB, free: 357.6 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/2.777, allocations: 181.2 kB / 1.405 GB, free: 357.6 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=798): time 1.401e-05/2.777, allocations: 3.562 kB / 1.405 GB, free: 357.6 MB / 0.7605 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! " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.722740831784904]