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.001359/0.001359, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001494/0.001494, allocations: 209.2 kB / 23.73 MB, free: 4.41 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.84 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.2358/0.2358, allocations: 46.95 MB / 360.9 MB, free: 4.07 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.002058/0.002058, allocations: 63.91 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 66.03 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7815/1.13, allocations: 324.2 MB / 0.8777 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1522/1.283, allocations: 95.54 MB / 0.971 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01335/1.296, allocations: 424.2 kB / 0.9714 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01756/1.313, allocations: 4.675 MB / 0.9759 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0604/1.374, allocations: 18.41 MB / 0.9939 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.589/1.963, allocations: 26.43 MB / 1.02 GB, free: 21.92 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0424/2.005, allocations: 34.7 MB / 1.054 GB, free: 21.87 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0181/2.023, allocations: 6.745 MB / 1.06 GB, free: 37.52 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4335/2.457, allocations: 198.1 MB / 1.254 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1497/2.607, allocations: 68.8 MB / 1.321 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.007785/2.614, allocations: 1.156 MB / 1.322 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04428/2.659, allocations: 11.32 MB / 1.333 GB, free: 11.61 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0139/2.673, allocations: 5.836 MB / 1.339 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.5366/3.209, allocations: 7.029 MB / 1.346 GB, free: 195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.06068/3.27, allocations: 27.99 MB / 1.373 GB, free: 193.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/3.27, allocations: 0 / 1.373 GB, free: 193.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/3.27, allocations: 0.9375 kB / 1.373 GB, free: 193.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001062/3.271, allocations: 0 / 1.373 GB, free: 193.4 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.068/3.339, allocations: 17.96 MB / 1.39 GB, free: 187.4 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/3.339, allocations: 8.906 kB / 1.39 GB, free: 187.4 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03697/3.376, allocations: 4.586 MB / 1.395 GB, free: 186.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02154/3.397, allocations: 7.682 MB / 1.402 GB, free: 185.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001963/3.399, allocations: 1.214 MB / 1.404 GB, free: 185.1 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006179/3.406, allocations: 1.164 MB / 1.405 GB, free: 185.1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07115/3.477, allocations: 28.45 MB / 1.433 GB, free: 177 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005253/3.477, allocations: 53.19 kB / 1.433 GB, free: 177 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004601/3.482, allocations: 0.5482 MB / 1.433 GB, free: 177 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/3.483, allocations: 1.512 MB / 1.435 GB, free: 177 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05554/3.539, allocations: 22.45 MB / 1.457 GB, free: 176.9 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.1139/3.653, allocations: 72.83 MB / 1.528 GB, free: 126 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03564/3.688, allocations: 14.37 MB / 1.542 GB, free: 115.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01159/3.7, allocations: 5.847 MB / 1.547 GB, free: 110.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02913/3.729, allocations: 8.85 MB / 1.556 GB, free: 101.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/3.729, allocations: 181.9 kB / 1.556 GB, free: 101.3 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 1.215e-05/3.729, allocations: 0 / 1.556 GB, free: 101.3 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 656] [Calling sys.exit(0), Time elapsed: 6.5810036435723305] 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'] 3.9286495242267847 3.937717161 0.6651757020000001 Calling exit ...