Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00151/0.00151, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001743/0.001743, allocations: 217 kB / 24.5 MB, free: 4.133 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.362/1.362, allocations: 230.5 MB / 258.2 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.93 MB / 361.5 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 75.88 kB / 0.4974 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3095, allocations: 66.08 MB / 0.562 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6211/0.9306, allocations: 361.2 MB / 0.9147 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.5896/1.52, allocations: 104.8 MB / 1.017 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/1.53, allocations: 423.8 kB / 1.018 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01346/1.544, allocations: 5.163 MB / 1.023 GB, free: 344 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04437/1.588, allocations: 18.43 MB / 1.041 GB, free: 44 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.05933/1.647, allocations: 27.36 MB / 1.067 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04605/1.693, allocations: 34.88 MB / 1.101 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/1.708, allocations: 6.51 MB / 1.108 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4297/2.138, allocations: 198 MB / 1.301 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6174/2.755, allocations: 68.77 MB / 1.368 GB, free: 229.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.006313/2.762, allocations: 1.154 MB / 1.369 GB, free: 229.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03826/2.8, allocations: 12.05 MB / 1.381 GB, free: 229.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01212/2.812, allocations: 5.839 MB / 1.387 GB, free: 229.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02565/2.838, allocations: 8.451 MB / 1.395 GB, free: 229.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.05996/2.898, allocations: 27.93 MB / 1.422 GB, free: 226.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/2.898, allocations: 0 / 1.422 GB, free: 226.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.884e-06/2.898, allocations: 0 / 1.422 GB, free: 226.2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.001049/2.899, allocations: 0 / 1.422 GB, free: 226.2 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.05596/2.955, allocations: 17.98 MB / 1.44 GB, free: 219.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/2.955, allocations: 10.66 kB / 1.44 GB, free: 219.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03371/2.988, allocations: 4.586 MB / 1.444 GB, free: 217.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/3.008, allocations: 7.673 MB / 1.452 GB, free: 214.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001685/3.01, allocations: 1.206 MB / 1.453 GB, free: 213.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004774/3.015, allocations: 1.165 MB / 1.454 GB, free: 213 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06484/3.079, allocations: 24.5 MB / 1.478 GB, free: 193.9 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008134/3.08, allocations: 51.03 kB / 1.478 GB, free: 193.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00614/3.086, allocations: 0.5497 MB / 1.479 GB, free: 193.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001586/3.088, allocations: 1.522 MB / 1.48 GB, free: 192.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05158/3.14, allocations: 22.54 MB / 1.502 GB, free: 176 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.1208/3.26, allocations: 106.4 MB / 1.606 GB, free: 63.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03373/3.294, allocations: 14.39 MB / 1.62 GB, free: 48.59 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01185/3.306, allocations: 5.86 MB / 1.626 GB, free: 42.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02753/3.333, allocations: 8.873 MB / 1.635 GB, free: 33.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/3.334, allocations: 169 kB / 1.635 GB, free: 33.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 2.815e-05/3.334, allocations: 0 / 1.635 GB, free: 33.75 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 656] [Calling sys.exit(0), Time elapsed: 6.388041465077549] 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.889282698975876 3.898395658 0.998242827 Calling exit ...