Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006633/0.006633, allocations: 109.1 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0017/0.0017, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.5 MB / 258.9 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2345/0.2345, allocations: 46.94 MB / 362.3 MB, free: 4.184 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 79.86 kB / 0.4982 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3973, allocations: 66.09 MB / 0.5628 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7672/1.164, allocations: 361.2 MB / 0.9155 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.7738/1.938, allocations: 104.8 MB / 1.018 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01307/1.951, allocations: 424.4 kB / 1.018 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01643/1.968, allocations: 5.162 MB / 1.023 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.05675/2.025, allocations: 18.43 MB / 1.041 GB, free: 24 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.07338/2.098, allocations: 27.35 MB / 1.068 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.06274/2.161, allocations: 34.87 MB / 1.102 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01776/2.178, allocations: 6.515 MB / 1.108 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4758/2.654, allocations: 198 MB / 1.302 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7718/3.426, allocations: 68.77 MB / 1.369 GB, free: 230.6 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.008069/3.434, allocations: 1.154 MB / 1.37 GB, free: 230.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04501/3.479, allocations: 12.05 MB / 1.382 GB, free: 230.6 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01337/3.492, allocations: 5.84 MB / 1.388 GB, free: 230.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.03014/3.523, allocations: 8.453 MB / 1.396 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.06674/3.589, allocations: 27.92 MB / 1.423 GB, free: 226.9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/3.589, allocations: 2.062 kB / 1.423 GB, free: 226.9 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.765e-06/3.589, allocations: 0 / 1.423 GB, free: 226.9 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.001024/3.59, allocations: 0 / 1.423 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.0672/3.658, allocations: 17.98 MB / 1.441 GB, free: 220 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/3.658, allocations: 7.781 kB / 1.441 GB, free: 220 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03541/3.693, allocations: 4.592 MB / 1.445 GB, free: 218.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02114/3.714, allocations: 7.672 MB / 1.453 GB, free: 215 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0021/3.716, allocations: 1.207 MB / 1.454 GB, free: 214.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006849/3.723, allocations: 1.168 MB / 1.455 GB, free: 213.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0708/3.794, allocations: 24.5 MB / 1.479 GB, free: 194.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005855/3.794, allocations: 57.66 kB / 1.479 GB, free: 194.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005234/3.8, allocations: 0.5532 MB / 1.479 GB, free: 194.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001565/3.801, allocations: 1.514 MB / 1.481 GB, free: 192.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05304/3.854, allocations: 22.54 MB / 1.503 GB, free: 176.4 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.1248/3.979, allocations: 106.4 MB / 1.607 GB, free: 63.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03439/4.014, allocations: 14.4 MB / 1.621 GB, free: 48.97 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01176/4.025, allocations: 5.855 MB / 1.627 GB, free: 43.06 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0264/4.052, allocations: 8.869 MB / 1.635 GB, free: 34.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/4.052, allocations: 175.5 kB / 1.635 GB, free: 34.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 9.938e-06/4.052, allocations: 0 / 1.635 GB, free: 34.12 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.302195150172338] 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.603127975948155 4.611537205 1.019344435 Calling exit ...