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.001304/0.001304, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001602/0.001602, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2483/0.2483, allocations: 46.93 MB / 360.9 MB, free: 4.246 MB / 286.1 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 0.00228/0.00228, allocations: 63.91 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3977, allocations: 66.04 MB / 0.5612 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8362/1.234, allocations: 361.2 MB / 0.9139 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.7536/1.987, allocations: 104.8 MB / 1.016 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0144/2.002, allocations: 424.9 kB / 1.017 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01645/2.018, allocations: 5.163 MB / 1.022 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.06167/2.08, allocations: 18.43 MB / 1.04 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.08768/2.168, allocations: 27.35 MB / 1.066 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.06517/2.233, allocations: 34.88 MB / 1.101 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01804/2.251, allocations: 6.513 MB / 1.107 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5545/2.805, allocations: 198 MB / 1.3 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.753/3.558, allocations: 68.77 MB / 1.367 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.008358/3.567, allocations: 1.16 MB / 1.369 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05081/3.617, allocations: 12.04 MB / 1.38 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01403/3.632, allocations: 5.837 MB / 1.386 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02908/3.661, allocations: 8.457 MB / 1.394 GB, free: 230.1 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.07261/3.733, allocations: 27.93 MB / 1.422 GB, free: 226.6 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/3.733, allocations: 0 / 1.422 GB, free: 226.6 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.285e-06/3.733, allocations: 3.969 kB / 1.422 GB, free: 226.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.001056/3.734, allocations: 0 / 1.422 GB, free: 226.6 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.06429/3.799, allocations: 17.98 MB / 1.439 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/3.799, allocations: 10.5 kB / 1.439 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03749/3.836, allocations: 4.583 MB / 1.444 GB, free: 218 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02332/3.859, allocations: 7.671 MB / 1.451 GB, free: 215 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001757/3.861, allocations: 1.212 MB / 1.452 GB, free: 214.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005297/3.866, allocations: 1.164 MB / 1.453 GB, free: 213.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06406/3.931, allocations: 24.5 MB / 1.477 GB, free: 194.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004328/3.931, allocations: 51.41 kB / 1.477 GB, free: 194.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004073/3.935, allocations: 0.5535 MB / 1.478 GB, free: 194.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001679/3.937, allocations: 1.515 MB / 1.479 GB, free: 192.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05403/3.991, allocations: 22.55 MB / 1.501 GB, free: 176.5 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.1266/4.117, allocations: 106.4 MB / 1.605 GB, free: 63.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03671/4.154, allocations: 14.4 MB / 1.619 GB, free: 49.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/4.166, allocations: 5.847 MB / 1.625 GB, free: 43.2 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02962/4.196, allocations: 8.877 MB / 1.634 GB, free: 34.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/4.196, allocations: 175 kB / 1.634 GB, free: 34.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 9.888e-06/4.196, allocations: 0 / 1.634 GB, free: 34.25 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 655] [Calling sys.exit(0), Time elapsed: 7.659728658152744] 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.788695974973962 4.79930329 1.0630849470000001 Calling exit ...