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.001411/0.001411, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001588/0.001588, allocations: 208.4 kB / 23.73 MB, free: 4.379 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2667/0.2667, allocations: 46.95 MB / 360.9 MB, free: 4.055 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.002162/0.002162, allocations: 63.84 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.436, allocations: 66.04 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7881/1.224, allocations: 324.2 MB / 0.8777 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1506/1.375, allocations: 95.53 MB / 0.971 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01536/1.39, allocations: 424.2 kB / 0.9714 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01921/1.409, allocations: 4.683 MB / 0.9759 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.062/1.471, allocations: 18.45 MB / 0.9939 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.6664/2.138, allocations: 26.75 MB / 1.02 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.05364/2.191, allocations: 34.87 MB / 1.054 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02004/2.211, allocations: 6.757 MB / 1.061 GB, free: 37.15 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5745/2.786, allocations: 198.1 MB / 1.254 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1765/2.962, allocations: 68.81 MB / 1.321 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.007137/2.969, allocations: 1.156 MB / 1.322 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04059/3.01, allocations: 11.67 MB / 1.334 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0144/3.024, allocations: 5.833 MB / 1.34 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.9452/3.97, allocations: 7.034 MB / 1.346 GB, free: 183.2 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.05765/4.027, allocations: 27.98 MB / 1.374 GB, free: 181.7 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/4.027, allocations: 0 / 1.374 GB, free: 181.7 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/4.027, allocations: 0 / 1.374 GB, free: 181.7 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0008894/4.028, allocations: 3.969 kB / 1.374 GB, free: 181.7 MB / 0.92 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.07513/4.103, allocations: 17.95 MB / 1.391 GB, free: 175.7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/4.103, allocations: 9.969 kB / 1.391 GB, free: 175.7 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/4.143, allocations: 4.587 MB / 1.396 GB, free: 174.9 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02812/4.171, allocations: 7.679 MB / 1.403 GB, free: 173.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002465/4.174, allocations: 1.214 MB / 1.404 GB, free: 173.4 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007284/4.181, allocations: 1.161 MB / 1.406 GB, free: 173.4 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07482/4.256, allocations: 28.44 MB / 1.433 GB, free: 165.3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006704/4.257, allocations: 53.03 kB / 1.433 GB, free: 165.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006683/4.263, allocations: 0.5482 MB / 1.434 GB, free: 165.3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001887/4.265, allocations: 1.517 MB / 1.435 GB, free: 165.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06108/4.326, allocations: 22.45 MB / 1.457 GB, free: 165.2 MB / 0.92 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.1316/4.458, allocations: 72.83 MB / 1.528 GB, free: 115.1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03708/4.495, allocations: 14.37 MB / 1.543 GB, free: 104.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01268/4.508, allocations: 5.846 MB / 1.548 GB, free: 100.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03072/4.538, allocations: 8.854 MB / 1.557 GB, free: 91.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/4.539, allocations: 164.8 kB / 1.557 GB, free: 91.71 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 1.222e-05/4.539, allocations: 4 kB / 1.557 GB, free: 91.7 MB / 0.92 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.5397450448945165] 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.74927251925692 4.757975663 0.727909528 Calling exit ...