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.001277/0.001277, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001457/0.001457, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 8.23 MB / 206.1 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.2396/0.2396, allocations: 46.94 MB / 361.6 MB, free: 4.316 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002296/0.002296, allocations: 67.89 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3646, allocations: 66.02 MB / 0.5619 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7535/1.118, allocations: 361.2 MB / 0.9147 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.6914/1.809, allocations: 104.8 MB / 1.017 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01558/1.825, allocations: 424.5 kB / 1.017 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01622/1.841, allocations: 5.161 MB / 1.022 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0537/1.895, allocations: 18.43 MB / 1.04 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.07033/1.965, allocations: 27.36 MB / 1.067 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.05477/2.02, allocations: 34.88 MB / 1.101 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01753/2.038, allocations: 6.511 MB / 1.108 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4816/2.519, allocations: 198 MB / 1.301 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6852/3.204, allocations: 68.76 MB / 1.368 GB, free: 230.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.007116/3.212, allocations: 1.155 MB / 1.369 GB, free: 230.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04383/3.255, allocations: 12.05 MB / 1.381 GB, free: 230.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01389/3.269, allocations: 5.836 MB / 1.387 GB, free: 230.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02828/3.298, allocations: 8.454 MB / 1.395 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.06722/3.365, allocations: 27.93 MB / 1.422 GB, free: 226.9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/3.365, allocations: 0 / 1.422 GB, free: 226.9 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.824e-06/3.365, allocations: 0 / 1.422 GB, free: 226.9 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.00105/3.366, allocations: 0 / 1.422 GB, free: 226.9 MB / 0.9512 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.05794/3.424, allocations: 17.98 MB / 1.44 GB, free: 220 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/3.424, allocations: 7.938 kB / 1.44 GB, free: 220 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03516/3.459, allocations: 4.597 MB / 1.444 GB, free: 218.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02134/3.48, allocations: 7.666 MB / 1.452 GB, free: 215.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00184/3.482, allocations: 1.212 MB / 1.453 GB, free: 214.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00519/3.487, allocations: 1.166 MB / 1.454 GB, free: 213.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06741/3.555, allocations: 24.5 MB / 1.478 GB, free: 194.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005235/3.555, allocations: 55.41 kB / 1.478 GB, free: 194.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004562/3.56, allocations: 0.5468 MB / 1.479 GB, free: 194.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/3.561, allocations: 1.517 MB / 1.48 GB, free: 193.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05048/3.612, allocations: 22.54 MB / 1.502 GB, free: 176.7 MB / 0.9512 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.1233/3.735, allocations: 106.4 MB / 1.606 GB, free: 63.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03423/3.769, allocations: 14.41 MB / 1.62 GB, free: 49.4 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01139/3.781, allocations: 5.859 MB / 1.626 GB, free: 43.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02742/3.808, allocations: 8.872 MB / 1.634 GB, free: 34.72 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/3.808, allocations: 168.1 kB / 1.635 GB, free: 34.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 1.044e-05/3.808, allocations: 0 / 1.635 GB, free: 34.56 MB / 0.9512 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.945711861131713] Failed to read output from testmodel.py, exit status != 0: ['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'] 4.335272680968046 4.344634463 0.977054856 Calling exit ...