Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 84.34 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002594/0.002594, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3737/0.3737, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.173e-05, allocations: 2.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8959/0.8959, allocations: 321.3 MB / 0.6822 GB, free: 140 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1456/1.041, allocations: 95.71 MB / 0.7757 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01618/1.058, allocations: 424.1 kB / 0.7761 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01814/1.076, allocations: 4.739 MB / 0.7807 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.06591/1.142, allocations: 18.89 MB / 0.7992 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.09274/1.234, allocations: 29.25 MB / 0.8277 GB, free: 1.074 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.4508/1.685, allocations: 33.82 MB / 0.8608 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01796/1.703, allocations: 7.103 MB / 0.8677 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5232/2.226, allocations: 202.1 MB / 1.065 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5886/2.815, allocations: 68.14 MB / 1.132 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.007334/2.822, allocations: 1.155 MB / 1.133 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03677/2.859, allocations: 11.41 MB / 1.144 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.01436/2.873, allocations: 6.068 MB / 1.15 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.02685/2.9, allocations: 6.031 MB / 1.156 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0679/2.968, allocations: 29.76 MB / 1.185 GB, free: 138.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/2.968, allocations: 1.875 kB / 1.185 GB, free: 138.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.694e-06/2.968, allocations: 0 / 1.185 GB, free: 138.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0009665/2.969, allocations: 0 / 1.185 GB, free: 138.5 MB / 0.7292 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.06031/3.029, allocations: 17.8 MB / 1.202 GB, free: 132.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/3.029, allocations: 8.406 kB / 1.202 GB, free: 132.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04291/3.072, allocations: 7.465 MB / 1.209 GB, free: 130.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/3.093, allocations: 8.053 MB / 1.217 GB, free: 125.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001769/3.094, allocations: 1.209 MB / 1.218 GB, free: 124.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006411/3.101, allocations: 1.237 MB / 1.22 GB, free: 123.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07169/3.172, allocations: 28.44 MB / 1.247 GB, free: 99.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008681/3.173, allocations: 50.94 kB / 1.248 GB, free: 99.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0076/3.181, allocations: 0.5512 MB / 1.248 GB, free: 99.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001931/3.183, allocations: 1.516 MB / 1.25 GB, free: 98.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05649/3.239, allocations: 22.46 MB / 1.271 GB, free: 79.46 MB / 0.7292 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.1204/3.36, allocations: 73.14 MB / 1.343 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04271/3.402, allocations: 14.38 MB / 1.357 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01601/3.418, allocations: 5.846 MB / 1.363 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4788/3.897, allocations: 8.897 MB / 1.371 GB, free: 154.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/3.897, allocations: 172.3 kB / 1.372 GB, free: 154.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=798): time 3.167e-05/3.897, allocations: 5.594 kB / 1.372 GB, free: 154.1 MB / 0.7448 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 656] [Calling sys.exit(0), Time elapsed: 6.667597848922014]