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.002383/0.002383, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001982/0.001982, allocations: 169.3 kB / 24.28 MB, free: 152 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.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3595/0.3595, allocations: 34.26 MB / 295.3 MB, free: 0.7148 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.864e-06/1.864e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.284e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.016/1.016, allocations: 367 MB / 0.7269 GB, free: 10.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1795/1.195, allocations: 107 MB / 0.8314 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01433/1.209, allocations: 420.2 kB / 0.8318 GB, free: 0.5312 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.4403/1.65, allocations: 4.731 MB / 0.8365 GB, free: 3.266 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0512/1.701, allocations: 18.91 MB / 0.8549 GB, free: 464 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.07161/1.773, allocations: 29.24 MB / 0.8835 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.04528/1.818, allocations: 33.84 MB / 0.9165 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/1.832, allocations: 7.102 MB / 0.9235 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.002/2.834, allocations: 202.3 MB / 1.121 GB, free: 169.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1528/2.987, allocations: 68.14 MB / 1.188 GB, free: 152 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.007467/2.994, allocations: 1.161 MB / 1.189 GB, free: 151.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04179/3.036, allocations: 11.41 MB / 1.2 GB, free: 143.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.01429/3.05, allocations: 6.122 MB / 1.206 GB, free: 140.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.02399/3.074, allocations: 6.021 MB / 1.212 GB, free: 136.6 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0642/3.139, allocations: 29.75 MB / 1.241 GB, free: 113.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/3.139, allocations: 0 / 1.241 GB, free: 113.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.515e-06/3.139, allocations: 0 / 1.241 GB, free: 113.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009983/3.14, allocations: 0 / 1.241 GB, free: 113.7 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.05345/3.193, allocations: 18.95 MB / 1.259 GB, free: 95.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/3.193, allocations: 8.031 kB / 1.259 GB, free: 95.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03995/3.233, allocations: 7.117 MB / 1.266 GB, free: 87.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/3.254, allocations: 7.598 MB / 1.274 GB, free: 80.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001674/3.255, allocations: 1.184 MB / 1.275 GB, free: 79.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004847/3.26, allocations: 1.244 MB / 1.276 GB, free: 78.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05915/3.319, allocations: 25.36 MB / 1.301 GB, free: 50.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005591/3.32, allocations: 51.22 kB / 1.301 GB, free: 50.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004715/3.324, allocations: 0.5568 MB / 1.301 GB, free: 50.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/3.326, allocations: 1.51 MB / 1.303 GB, free: 48.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04364/3.37, allocations: 16.54 MB / 1.319 GB, free: 32.49 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.518/3.888, allocations: 97.57 MB / 1.414 GB, free: 345.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02797/3.916, allocations: 11.78 MB / 1.426 GB, free: 344.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008535/3.924, allocations: 4.426 MB / 1.43 GB, free: 344 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03124/3.955, allocations: 8.93 MB / 1.439 GB, free: 343.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/3.956, allocations: 175.2 kB / 1.439 GB, free: 343.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=798): time 1.404e-05/3.956, allocations: 0 / 1.439 GB, free: 343.9 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 656] [Calling sys.exit(0), Time elapsed: 6.7367286320077255]