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.001934/0.001934, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002278/0.002278, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.467/1.467, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.2327/0.2327, allocations: 46.95 MB / 361.6 MB, free: 3.938 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.002461/0.002461, allocations: 75.88 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3603, allocations: 66.1 MB / 0.5619 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6699/1.03, allocations: 324.2 MB / 0.8785 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1431/1.173, allocations: 95.53 MB / 0.9718 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0129/1.186, allocations: 424.1 kB / 0.9722 GB, free: 180 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01767/1.204, allocations: 4.675 MB / 0.9768 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.05984/1.264, allocations: 18.42 MB / 0.9947 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.6332/1.897, allocations: 26.44 MB / 1.021 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04754/1.944, allocations: 34.7 MB / 1.054 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01915/1.964, allocations: 6.742 MB / 1.061 GB, free: 36.96 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4427/2.406, allocations: 198.1 MB / 1.254 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1533/2.559, allocations: 68.8 MB / 1.322 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.007347/2.567, allocations: 1.156 MB / 1.323 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04276/2.61, allocations: 11.33 MB / 1.334 GB, free: 10.65 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01292/2.623, allocations: 5.833 MB / 1.34 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.061/3.684, allocations: 7.037 MB / 1.346 GB, free: 183.1 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.07684/3.761, allocations: 27.98 MB / 1.374 GB, free: 181.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/3.761, allocations: 0.5312 kB / 1.374 GB, free: 181.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.964e-06/3.761, allocations: 0 / 1.374 GB, free: 181.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001306/3.762, allocations: 3.969 kB / 1.374 GB, free: 181.5 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.08397/3.846, allocations: 17.95 MB / 1.391 GB, free: 175.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/3.846, allocations: 9.344 kB / 1.391 GB, free: 175.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03921/3.885, allocations: 4.589 MB / 1.396 GB, free: 174.7 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02779/3.913, allocations: 7.681 MB / 1.403 GB, free: 173.2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002765/3.916, allocations: 1.207 MB / 1.404 GB, free: 173.2 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007821/3.923, allocations: 1.166 MB / 1.406 GB, free: 173.2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08727/4.011, allocations: 28.44 MB / 1.433 GB, free: 165.1 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001544/4.012, allocations: 54.16 kB / 1.433 GB, free: 165.1 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01061/4.023, allocations: 0.5444 MB / 1.434 GB, free: 165.1 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/4.025, allocations: 1.525 MB / 1.435 GB, free: 165.1 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06914/4.094, allocations: 22.44 MB / 1.457 GB, free: 165 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.1526/4.247, allocations: 72.83 MB / 1.528 GB, free: 114.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03964/4.287, allocations: 14.37 MB / 1.543 GB, free: 104.1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01438/4.301, allocations: 5.853 MB / 1.548 GB, free: 99.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03062/4.332, allocations: 8.849 MB / 1.557 GB, free: 91.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/4.332, allocations: 169.8 kB / 1.557 GB, free: 91.38 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 4.32e-05/4.332, allocations: 0 / 1.557 GB, free: 91.38 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.2516317260451615] 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.544066090136766 4.553655152 0.790281948 Calling exit ...