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.001307/0.001307, allocations: 119.1 kB / 18.46 MB, free: 4.562 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.001466/0.001466, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.92 MB / 357.8 MB, free: 10.32 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.001963/0.001963, allocations: 68.09 kB / 0.4921 GB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1445, allocations: 65.99 MB / 0.5565 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.147/1.291, allocations: 357.8 MB / 0.906 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1405/1.432, allocations: 104.5 MB / 1.008 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01656/1.448, allocations: 425 kB / 1.008 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01688/1.465, allocations: 5.155 MB / 1.013 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.06352/1.529, allocations: 18.17 MB / 1.031 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.08085/1.61, allocations: 26.01 MB / 1.057 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.05697/1.667, allocations: 34.07 MB / 1.09 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01532/1.682, allocations: 6.869 MB / 1.097 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9997/2.682, allocations: 201.8 MB / 1.294 GB, free: 6.312 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1516/2.833, allocations: 68.69 MB / 1.361 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.008262/2.842, allocations: 1.152 MB / 1.362 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04275/2.884, allocations: 12 MB / 1.374 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01418/2.899, allocations: 5.816 MB / 1.379 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0295/2.928, allocations: 8.441 MB / 1.387 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.07443/3.002, allocations: 27.93 MB / 1.415 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/3.002, allocations: 0 / 1.415 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.294e-06/3.002, allocations: 1.781 kB / 1.415 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.001121/3.004, allocations: 0 / 1.415 GB, free: 11.7 MB / 0.9044 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.06647/3.07, allocations: 18.05 MB / 1.432 GB, free: 9.734 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/3.07, allocations: 8.031 kB / 1.432 GB, free: 9.727 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03811/3.108, allocations: 4.587 MB / 1.437 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02175/3.13, allocations: 7.83 MB / 1.445 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00203/3.132, allocations: 1.213 MB / 1.446 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004975/3.137, allocations: 1.163 MB / 1.447 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0727/3.21, allocations: 24.51 MB / 1.471 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004599/3.21, allocations: 58.02 kB / 1.471 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004259/3.214, allocations: 0.5441 MB / 1.471 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.7078/3.922, allocations: 1.52 MB / 1.473 GB, free: 0.4926 GB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0662/3.988, allocations: 22.54 MB / 1.495 GB, free: 0.4889 GB / 0.9513 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.1259/4.114, allocations: 107.8 MB / 1.6 GB, free: 409.6 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03586/4.15, allocations: 14.41 MB / 1.614 GB, free: 396.1 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01183/4.162, allocations: 5.858 MB / 1.62 GB, free: 390.2 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03081/4.193, allocations: 17.6 MB / 1.637 GB, free: 371.1 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/4.193, allocations: 164 kB / 1.637 GB, free: 371 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 1.094e-05/4.193, allocations: 3.938 kB / 1.637 GB, free: 370.9 MB / 0.9513 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: 7.2716279629967175] 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.407739734015195 4.418197936 1.412941558 Calling exit ...